@Test public void shouldObjectBeSynced_shouldReturnTrueIfEntryAlreadyExists() { boolean fetched = auditMessagePullFilter.shouldObjectBeSynced(prepareDummyAuditMessage( EXISTING_ENTRY_UUID), SAMPLE_ACTION); Assert.assertTrue(fetched); }
@Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryAlreadyExists(auditMessage); }
AuditMessagePullFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryAlreadyExists(auditMessage); } }
AuditMessagePullFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryAlreadyExists(auditMessage); }  }
AuditMessagePullFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryAlreadyExists(auditMessage); }  @Override boolean shouldObjectBeSynced(Object object, String action); }
AuditMessagePullFilter implements ObjectFilter { @Override public boolean shouldObjectBeSynced(Object object, String action) { AuditMessage auditMessage = (AuditMessage) object; return checkIfEntryAlreadyExists(auditMessage); }  @Override boolean shouldObjectBeSynced(Object object, String action);  }