use of ca.corefacility.bioinformatics.irida.security.permissions.files.ReadSequencingObjectPermission in project irida by phac-nml.
the class ReadSequencingObjectPermissionTest method setUp.
@Before
public void setUp() {
userRepository = mock(UserRepository.class);
ssoRepository = mock(SampleSequencingObjectJoinRepository.class);
sequencingObjectRepository = mock(SequencingObjectRepository.class);
psjRepository = mock(ProjectSampleJoinRepository.class);
sampleRepository = mock(SampleRepository.class);
readProjectPermission = mock(ReadProjectPermission.class);
samplePermission = new ReadSamplePermission(sampleRepository, psjRepository, readProjectPermission);
permission = new ReadSequencingObjectPermission(sequencingObjectRepository, samplePermission, ssoRepository);
}
Aggregations