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