Search in sources :

Example 1 with SubstituteCareProviderAuthorizationDroolsConfiguration

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

Aggregations

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