Search in sources :

Example 1 with PlacementHomeAuthorizationDroolsConfiguration

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

Aggregations

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