@Test public void testGetTarget() { GrainTarget underTest = new GrainTarget(TARGET_1); assertEquals(TARGET_1, underTest.getTarget()); underTest = new GrainTarget(TARGET_2); assertEquals(TARGET_2, underTest.getTarget()); }
@Override public String getTarget() { return target; }
GrainTarget implements Target<String> { @Override public String getTarget() { return target; } }
GrainTarget implements Target<String> { @Override public String getTarget() { return target; } GrainTarget(String target); }
GrainTarget implements Target<String> { @Override public String getTarget() { return target; } GrainTarget(String target); @Override String getTarget(); @Override String getType(); }
GrainTarget implements Target<String> { @Override public String getTarget() { return target; } GrainTarget(String target); @Override String getTarget(); @Override String getType();  }