Search in sources :

Example 1 with ClientResultAuthorizationDroolsConfiguration

use of gov.ca.cwds.authorizer.drools.configuration.ClientResultAuthorizationDroolsConfiguration 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);
}
Also used : DroolsAuthorizationService(gov.ca.cwds.authorizer.drools.DroolsAuthorizationService) ClientResultAuthorizationDroolsConfiguration(gov.ca.cwds.authorizer.drools.configuration.ClientResultAuthorizationDroolsConfiguration) DroolsService(gov.ca.cwds.drools.DroolsService) Before(org.junit.Before)

Aggregations

DroolsAuthorizationService (gov.ca.cwds.authorizer.drools.DroolsAuthorizationService)1 ClientResultAuthorizationDroolsConfiguration (gov.ca.cwds.authorizer.drools.configuration.ClientResultAuthorizationDroolsConfiguration)1 DroolsService (gov.ca.cwds.drools.DroolsService)1 Before (org.junit.Before)1