public void testOnWornOff() {
Map<String, Integer> pricelist = new HashMap<String, Integer>();
pricelist.put("trunks", Integer.valueOf(50));
OutfitChangerBehaviour beh = new OutfitChangerBehaviour(pricelist);
Player player = PlayerTestHelper.createPlayer("bob");
OutwearClothes cloth = beh.new OutwearClothes(player);
OutwearClothes cloth2 = beh.new OutwearClothes(player);
assertTrue(cloth.equals(cloth2));
assertTrue(cloth2.equals(cloth));
OutwearClothes cloth3 = beh.new OutwearClothes(PlayerTestHelper.createPlayer("bob"));
assertTrue(cloth.equals(cloth3));
assertTrue(cloth3.equals(cloth));
}