### Question:
MockMyService implements MyService { @Override public String generateString() { return "In mock"; }  @Override String generateString();  }### Answer:
@Test public void testMyService() { Assert.assertEquals("In mock", myService.generateString()); }