use of org.eclipse.che.api.project.server.handlers.ProjectHandler 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