testing weaponfactory to produce a spear asserting that the weapon is an instance of spear concode_field_sep WeaponFactory factory concode_field_sep void init concode_elem_sep void testAxeWeapon concode_elem_sep void verifyWeapon concode_elem_sep void testWeapon
void function ( ) { Weapon loc0 = factory . create ( WeaponType . SPEAR ) ; verifyWeapon ( loc0 , Spear . class ) ; }