use of ca.corefacility.bioinformatics.irida.service.impl.ProjectServiceImpl in project irida by phac-nml.
the class ProjectServiceImplTest method setUp.
@Before
public void setUp() {
validator = mock(Validator.class);
projectRepository = mock(ProjectRepository.class);
sampleRepository = mock(SampleRepository.class);
userRepository = mock(UserRepository.class);
pujRepository = mock(ProjectUserJoinRepository.class);
psjRepository = mock(ProjectSampleJoinRepository.class);
relatedProjectRepository = mock(RelatedProjectRepository.class);
referenceFileRepository = mock(ReferenceFileRepository.class);
prfjRepository = mock(ProjectReferenceFileJoinRepository.class);
ugpjRepository = mock(UserGroupProjectJoinRepository.class);
sequencingObjectRepository = mock(SequencingObjectRepository.class);
projectService = new ProjectServiceImpl(projectRepository, sampleRepository, userRepository, pujRepository, psjRepository, relatedProjectRepository, referenceFileRepository, prfjRepository, ugpjRepository, ssoRepository, pasRepository, sequencingObjectRepository, validator);
}
Aggregations