@Test public void testModifyInput() { String input = "Hello World"; assertEquals("Hello World - modified by SampleService", sampleService.modifyString(input)); }
public String modifyString(String input) { return input + " - modified by " + SampleService.class.getSimpleName(); }
SampleService { public String modifyString(String input) { return input + " - modified by " + SampleService.class.getSimpleName(); } }
SampleService { public String modifyString(String input) { return input + " - modified by " + SampleService.class.getSimpleName(); }  }
SampleService { public String modifyString(String input) { return input + " - modified by " + SampleService.class.getSimpleName(); }  String modifyString(String input); }
SampleService { public String modifyString(String input) { return input + " - modified by " + SampleService.class.getSimpleName(); }  String modifyString(String input);  }