/**
  * @test
  */
 public function I_can_get_every_weapon_by_weapon_codes_library()
 {
     $unarmedTable = new UnarmedTable();
     foreach (MeleeWeaponCode::getUnarmedCodes() as $unarmedCode) {
         $row = $unarmedTable->getRow([$unarmedCode]);
         self::assertNotEmpty($row);
     }
 }
 /**
  * @test
  */
 public function I_can_easily_find_out_if_weapon_is_unarmed_in_fact()
 {
     foreach (MeleeWeaponCode::getPossibleValues() as $meleeWeaponCodeValue) {
         $meleeWeaponCode = MeleeWeaponCode::getIt($meleeWeaponCodeValue);
         self::assertSame(in_array($meleeWeaponCodeValue, MeleeWeaponCode::getUnarmedCodes(), true), $meleeWeaponCode->isUnarmed());
     }
     self::assertSame([MeleeWeaponCode::HAND, MeleeWeaponCode::HOBNAILED_GLOVE, MeleeWeaponCode::LEG, MeleeWeaponCode::HOBNAILED_BOOT], MeleeWeaponCode::getUnarmedCodes());
 }