ConstructorGeneratorImpl implements ConstructorGenerator { @Override public String getFirstInstantiationSourceCode(Configuration config, ClassMeta classMeta) { return getInstantiationSourceCode(config, classMeta, getFirstConstructor(classMeta)); } ConstructorGeneratorImpl(Configuration config, LineBreakProvider lineBreakProvider); @Override List<String> getAllInstantiationSourceCodeList(Configuration config, ClassMeta classMeta); @Override String getFirstInstantiationSourceCode(Configuration config, ClassMeta classMeta); @Override String getInstantiationSourceCode(Configuration config, ClassMeta classMeta, ConstructorMeta constructorMeta);  }
@Test public void getFirstInstantiationSourceCode_A$Configuration$ClassMeta() throws Exception { ClassMeta classMeta = targetClassMeta; String actual = target.getFirstInstantiationSourceCode(config, classMeta); assertEquals(" Sample target = new Sample();\r\n", actual); }