use of no.nav.pto.veilarbportefolje.auth.AuthService in project veilarbportefolje by navikt.
the class EnhetControllerTest method initController.
@Before
public void initController() {
opensearchService = mock(OpensearchService.class);
pep = mock(Pep.class);
modiaPep = mock(ModiaPep.class);
authContextHolder = AuthContextHolderThreadLocal.instance();
AuthService authService = new AuthService(pep, modiaPep);
enhetController = new EnhetController(opensearchService, authService, mock(TiltakService.class), mock(MetricsClient.class), mock(UnleashService.class));
}
Aggregations