### Question:
RockPaperScissorsWeapons implements Weapons { @Override public boolean isExist(Weapon weapon) { for (Weapon mo : weapons) { if (weapon.getLabel().equals(mo.getLabel())) { return true; } } return false; } RockPaperScissorsWeapons(); @Override boolean isExist(Weapon weapon); @Override Weapon get(String label); @Override List<Weapon> getWeaponList(); @Override void addWeapon(Weapon weapon); @Override WeaponBattleRules getWeaponBattleRules(); @Override void setWeaponBattleRules(WeaponBattleRules weaponBattleRules); @Override Optional<Weapon> findWinnerWeapon(Weapon weapon1, Weapon weapon2);  }### Answer:
@Test public void isExistShouldReturnTrueFalseWhenWeaponMatchedByLabel() { RockPaperScissorsWeapons weapons = new RockPaperScissorsWeapons(); assertTrue(weapons.isExist(new BasicWeapon("Rock", "FIST"))); assertFalse(weapons.isExist(new BasicWeapon("UnknownWeapon", "FIST"))); }