use of ca.corefacility.bioinformatics.irida.service.RemoteAPIService in project irida by phac-nml.
the class RemoteAPIControllerTest method setUp.
@Before
public void setUp() {
remoteAPIService = mock(RemoteAPIService.class);
messageSource = mock(MessageSource.class);
projectRemoteService = mock(ProjectRemoteService.class);
authController = mock(OltuAuthorizationController.class);
tokenService = mock(RemoteAPITokenService.class);
remoteAPIController = new RemoteAPIController(remoteAPIService, projectRemoteService, tokenService, authController, messageSource);
locale = LocaleContextHolder.getLocale();
}
Aggregations