new DataType(NO_COMMENTS, NO_ANNOTATIONS, "Whatever", Util.<String>list(), NO_EXTENDS, NO_IMPLEMENTS, list(
new Constructor(NO_COMMENTS, "Whatever", Util.<Arg>list())
))
));
final StringSinkFactory factory = new StringSinkFactory("whatever");
final DocEmitter emitter = new StandardDocEmitter(new DummyDataTypeEmitter());
emitter.emit(factory, doc);
final Map<String, String> results = factory.getResults();
assertEquals("Got the wrong number of results", 2, results.size());
final String foobar = results.get("some.package.FooBar");
assertEquals(NO_IMPORTS_HEADER+FOOBAR, foobar);
assertEquals(NO_IMPORTS_HEADER+WHATEVER, results.get("some.package.Whatever"));
}