@Test public void shouldObjectBeSynced_shouldReturnTrueIfEntryDoesNotDescribeAuditMessage() { boolean fetched = auditMessagePushFilter.shouldObjectBeSynced(prepareDummyAuditMessage( SyncCategoryConstants.CATEGORY_PATIENT), SAMPLE_ACTION); Assert.assertTrue(fetched); }
@Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryDoesNotDescribeAuditMessage(auditMessage); }
AuditMessagePushFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryDoesNotDescribeAuditMessage(auditMessage); } }
AuditMessagePushFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryDoesNotDescribeAuditMessage(auditMessage); }  }
AuditMessagePushFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryDoesNotDescribeAuditMessage(auditMessage); }  @Override boolean shouldObjectBeSynced(Object object, String action); }
AuditMessagePushFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryDoesNotDescribeAuditMessage(auditMessage); }  @Override boolean shouldObjectBeSynced(Object object, String action);  }