@Test public void testGetSize() throws Exception { String Id1 = "1"; String Id2 = "2"; Clock cl = new Clock(Id1); // create clock with id equals 1 Assert.assertEquals(1, cl.getSize()); }