@Test
public void adds_imports_for_type_parameters_of_method_parameter_types() {
generator = new EventStubGenerator(GenericParametersListener.class, targetPackageResolver);
GeneratedClass event = generator.getEvents().get(0);
assertThat(event.source, containsString("import java.util.List;"));
assertThat(event.source, containsString("import java.io.File;"));
GeneratedClass frontend = generator.getFrontend();
assertThat(frontend.source, containsString("import java.util.List;"));
assertThat(frontend.source, containsString("import java.io.File;"));
}