Assert.assertEquals(" a :b", item.getData());
}
@Test
public void testMapSpecified() throws Exception {
setupForTest(false);
Item item = new Item();
item.setKey(new Integer(42));
item.setData("Godzilla");
client.addItem(item);
Map<Integer, Item> items = client.getItemsMapSpecified();
Assert.assertNotNull(items);
Assert.assertEquals(1, items.size());
Map.Entry<Integer, Item> entry = items.entrySet().iterator().next();
Assert.assertNotNull(entry);
Item item2 = entry.getValue();
Integer key2 = entry.getKey();
Assert.assertEquals(42, key2.intValue());
Assert.assertEquals("Godzilla", item2.getData());
}