| 3 | } |
| 4 | |
| 5 | public class Test implements Greeting { |
| 6 | private String prefix = "Hello"; |
| 7 | |
| 8 | public String greet(String name) { |
| 9 | return prefix + ", " + name + "!"; |
| 10 | } |
| 11 | |
| 12 | public static void main(String[] args) { |
| 13 | Test greeter = new Test(); |
| 14 | System.out.println(greeter.greet("World")); |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected