BuilderGenerator implements CodeGenerator { @Override public String generate(final Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { return templateForType((GeneratedType) type).generate(); } return ""; }  @Override boolean isAcceptable(final Type type); @Override String generate(final Type type); @Override String getUnitName(final Type type);  }
@Test public void basicTest() { assertEquals("", new BuilderGenerator().generate(mock(Type.class))); }