Search in sources :

Example 1 with RelatedProjectRepository

use of ca.corefacility.bioinformatics.irida.repositories.joins.project.RelatedProjectRepository 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);
}
Also used : SampleRepository(ca.corefacility.bioinformatics.irida.repositories.sample.SampleRepository) RelatedProjectRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.RelatedProjectRepository) ProjectRepository(ca.corefacility.bioinformatics.irida.repositories.ProjectRepository) UserRepository(ca.corefacility.bioinformatics.irida.repositories.user.UserRepository) RelatedProjectRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.RelatedProjectRepository) ProjectSampleJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectSampleJoinRepository) SequencingObjectRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository) UserGroupProjectJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.UserGroupProjectJoinRepository) ProjectUserJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectUserJoinRepository) ReferenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.referencefile.ReferenceFileRepository) Validator(javax.validation.Validator) ProjectReferenceFileJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectReferenceFileJoinRepository) ProjectServiceImpl(ca.corefacility.bioinformatics.irida.service.impl.ProjectServiceImpl) Before(org.junit.Before)

Aggregations

ProjectRepository (ca.corefacility.bioinformatics.irida.repositories.ProjectRepository)1 ProjectReferenceFileJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectReferenceFileJoinRepository)1 ProjectSampleJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectSampleJoinRepository)1 ProjectUserJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.project.ProjectUserJoinRepository)1 RelatedProjectRepository (ca.corefacility.bioinformatics.irida.repositories.joins.project.RelatedProjectRepository)1 UserGroupProjectJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.project.UserGroupProjectJoinRepository)1 ReferenceFileRepository (ca.corefacility.bioinformatics.irida.repositories.referencefile.ReferenceFileRepository)1 SampleRepository (ca.corefacility.bioinformatics.irida.repositories.sample.SampleRepository)1 SequencingObjectRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository)1 UserRepository (ca.corefacility.bioinformatics.irida.repositories.user.UserRepository)1 ProjectServiceImpl (ca.corefacility.bioinformatics.irida.service.impl.ProjectServiceImpl)1 Validator (javax.validation.Validator)1 Before (org.junit.Before)1