Hello implements Greeting { @Override public String greet() { return this.greeting; } Hello(final String greeting); @Override String greet(); @Override String greet(final String who); @Override void printGreeting();  }
@Test @GradedTest(name="greet() works") public void defaultGreeting() { assertEquals(GREETING, unit.greet()); }
@Test @GradedTest(name="greet(String who) works", points=2.0) public void greetSomebody() { assertEquals(GREETING + ", World!", unit.greet("World")); }