try {
emitter.constructorFactory(sink, "SomeDataType", "SomeFactory", list("A", "B"), constructor);
} finally {
sink.close();
}
assertEquals(NO_ARG_TYPES_FACTORY, sink.result());
}
/**
* If a factory has args but not types then it must be a simple method
*/