MockTarget implements Target<E> { @Override public String name() { return type.getSimpleName(); } MockTarget(Class<E> type); @Override Class<E> type(); @Override String name(); @Override String url(); @Override Request apply(RequestTemplate input);  }
@Test public void test() { assertThat(target.name(), equalTo("MockTargetTest")); }