@Test public void testSize() throws Exception { int sizeBefore = testedTable.size(); testedTable.put("abcdef1", "1"); testedTable.put("abcdef2", "2"); testedTable.put("abcdef1", "3"); Assert.assertEquals(testedTable.size(), sizeBefore + 2); }