use of org.eclipse.che.plugin.maven.server.projecttype.handler.GeneratorStrategy in project che by eclipse.
the class MavenProjectTypeTest method setUp.
@Before
public void setUp() throws Exception {
MockitoAnnotations.initMocks(this);
Set<ProjectTypeDef> projTypes = new HashSet<>();
projTypes.add(new JavaProjectType(new JavaValueProviderFactory()));
projTypes.add(new MavenProjectType(new MavenValueProviderFactory()));
ptRegistry = new ProjectTypeRegistry(projTypes);
Set<ProjectHandler> handlers = new HashSet<>();
handlers.add(new MavenProjectGenerator(Collections.<GeneratorStrategy>emptySet()));
httpJsonRequest = mock(HttpJsonRequest.class, new SelfReturningAnswer());
}
Aggregations