use of gov.ca.cwds.cms.data.access.service.BusinessValidationService in project api-core by ca-cwds.
the class BaseDocToolRulesChildClientRelationshipTest method setUp.
@Before
public void setUp() {
clientCoreService = new ClientCoreService(clientDao);
businessValidationService = new BusinessValidationService(droolsService);
awareDTO = new ClientRelationshipAwareDTO();
}
use of gov.ca.cwds.cms.data.access.service.BusinessValidationService in project api-core by ca-cwds.
the class BaseDocToolRulesPlacementHomeTest method setUp.
@Before
public void setUp() {
businessValidationService = new BusinessValidationService(droolsService);
placementHomeService = new PlacementHomeCoreService(placementHomeDao);
placementHomeEntityAwareDTO = prepareSuccessfulPlacementHomeEntityAwareDTO();
}
use of gov.ca.cwds.cms.data.access.service.BusinessValidationService in project api-core by ca-cwds.
the class BaseDocToolRulesSubstituteCareProviderTest method setUp.
@Before
public void setUp() {
businessValidationService = new BusinessValidationService(droolsService);
SCPEntityAwareDTO scpEntityAwareDTO = new SCPEntityAwareDTO();
entityAwareDTO = new ExtendedSCPEntityAwareDTO(scpEntityAwareDTO);
PlacementHomeInformation placementHomeInformation = new PlacementHomeInformation();
entityAwareDTO.setPlacementHomeInformation(placementHomeInformation);
scpService = new SubstituteCareProviderCoreService(mock(SubstituteCareProviderDao.class));
entityAwareDTO.setEntity(new SubstituteCareProvider());
}
use of gov.ca.cwds.cms.data.access.service.BusinessValidationService in project api-core by ca-cwds.
the class BaseDocToolRulesClientTest method setUp.
@Before
public void setUp() {
businessValidationService = new BusinessValidationService(droolsService);
clientCoreService = getClientCoreService();
clientEntityAwareDTO = getAwareDTO();
}
Aggregations