Instance { @Builder @GoalName("ventry") <V extends S> Map.Entry<V, V> ventry(V value) { return new AbstractMap.SimpleEntry(value, value); } Instance(S prefix);   }
@Test public void ventry() throws Exception { Instance<String> instance = new Instance<>(""); Map.Entry<String, String> entry = InstanceBuilders.ventryBuilder(instance) .value("1"); assertThat(entry.getKey(), is("1")); assertThat(entry.getValue(), is("1")); }