@Test public void testUniqueNotOK() throws Exception { MaintenanceDocument finIntEntityRelTypeMaintenanceDocument = getFinIntEntityRelTypeMaintenanceDocument(CODE_2, DESCRIPTION_1, SORT_ID_1); assertFalse( rule.processCustomRouteDocumentBusinessRules(finIntEntityRelTypeMaintenanceDocument)); assertFalse( rule.processCustomApproveDocumentBusinessRules(finIntEntityRelTypeMaintenanceDocument)); }
@Before public void setUp() throws Exception { rule = new FinIntEntityRelTypeMaintenanceDocumentRule(); rule.setBusinessObjectService(getMockBusinessObjectService()); }