Exemple #1
0
  /** Test if we can start the watch */
  @Test
  public void startTest() {
    // Create the watch
    final AppWatch watch = new AppWatch();

    // Start and check if the watch was created with a tag
    watch.startWatch("test");
    Assert.assertNotNull("Got null time", watch.getWatch().pop());
  }