@Before public void setUp() { map = new GoITMap(); map.put(new Integer(1), "one"); map.put(new Integer(11), "one"); System.out.println("setup"); }
@Test public void testSize() { assertEquals("checking size of map", 2, map.size()); }
@Test(expected = NoSuchElementException.class) public void testRemove() { map.remove("somekey"); }
@Test public void testReturnValue() { assertEquals("return value checking", "one", map.get(1)); }