### Question:
CopyEvent extends AbstractCopyEvent { public int[] getTableCounts() { return tableCounts; } CopyEvent(SessionInfoProvider prov); void setTableCounts(int[] tableCounts); int[] getTableCounts();  }### Answer:
@Test public void testGetTableCounts() throws Exception { classUnderTest.setTableCounts(null); assertNull(classUnderTest.getTableCounts()); int[] tableCounts = new int[] { 0, 1, 1 }; classUnderTest.setTableCounts(tableCounts); assertEquals(tableCounts, classUnderTest.getTableCounts()); }