LambdaServiceFunctionTarget implements Target<T> { @Override public String name() { return name; } LambdaServiceFunctionTarget(Class<T> type);  LambdaServiceFunctionTarget(Class<T> type, String name); @Override Class<T> type(); @Override String name(); @Override String url(); @Override Request apply(RequestTemplate input); @Override @SuppressWarnings("rawtypes") boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }
@Test public void init_NoNameGiven_ShouldDeriveNameFromType() { Target<ApiInterface1> target = new LambdaServiceFunctionTarget<>(ApiInterface1.class); assertEquals("lambda service: ApiInterface1", target.name()); }