@Test public void testValues() { assertEquals("foo", notAServiceFoo.getValue()); assertEquals("bar", notAServiceBar.getValue()); assertEquals("bar", bar.getValue()); assertEquals("A", notAServiceA.getValue()); }
public String getValue() { return value; }
NotAService { public String getValue() { return value; } }
NotAService { public String getValue() { return value; } NotAService(String value); }
NotAService { public String getValue() { return value; } NotAService(String value); String getValue(); }
NotAService { public String getValue() { return value; } NotAService(String value); String getValue();  }