use of gov.ca.cwds.authorizer.drools.DroolsAuthorizationService in project api-core by ca-cwds.
the class ClientResultReadAuthorizerTest method init.
@Before
public void init() {
MockitoAnnotations.initMocks(this);
final DroolsService droolsService = new DroolsService();
final DroolsAuthorizationService droolsAuthorizationService = new DroolsAuthorizationService(droolsService);
testSubject = new ClientResultReadAuthorizer(droolsAuthorizationService, new ClientResultAuthorizationDroolsConfiguration());
testSubject.setCountyDeterminationService(clientCountyDeterminationServiceMock);
}
use of gov.ca.cwds.authorizer.drools.DroolsAuthorizationService in project api-core by ca-cwds.
the class SubstituteCareProviderCreateAuthorizerTest method init.
@Before
public void init() {
MockitoAnnotations.initMocks(this);
final DroolsService droolsService = new DroolsService();
final DroolsAuthorizationService droolsAuthorizationService = new DroolsAuthorizationService(droolsService);
testSubject = new SubstituteCareProviderCreateAuthorizer(droolsAuthorizationService, new SubstituteCareProviderAuthorizationDroolsConfiguration());
}
use of gov.ca.cwds.authorizer.drools.DroolsAuthorizationService in project api-core by ca-cwds.
the class ClientAbstractReadAuthorizerTest method init.
@Before
public void init() {
MockitoAnnotations.initMocks(this);
final DroolsService droolsService = new DroolsService();
final DroolsAuthorizationService droolsAuthorizationService = new DroolsAuthorizationService(droolsService);
final ClientAbstractAuthorizationDroolsConfiguration droolsConfiguration = new ClientAbstractAuthorizationDroolsConfiguration();
testSubject = new ClientAbstractReadAuthorizer(droolsAuthorizationService, droolsConfiguration);
testSubject.setSensitivityDeterminationService(clientSensitivityDeterminationService);
testSubject.setCountyDeterminationService(clientCountyDeterminationService);
}
use of gov.ca.cwds.authorizer.drools.DroolsAuthorizationService in project api-core by ca-cwds.
the class PlacementHomeCreateAuthorizerTest method init.
@Before
public void init() {
MockitoAnnotations.initMocks(this);
final DroolsService droolsService = new DroolsService();
final DroolsAuthorizationService droolsAuthorizationService = new DroolsAuthorizationService(droolsService);
testSubject = new PlacementHomeCreateAuthorizer(droolsAuthorizationService, new PlacementHomeAuthorizationDroolsConfiguration());
}
Aggregations