long getTime() {
    return System.currentTimeMillis();
  }
@Test  (timeout=10000)
  public void testClock(){
    Clock clock= new Clock();
    long templateTime=System.currentTimeMillis();
    long time=clock.getTime();
    assertEquals(templateTime, time,30);

  }