@Test public void testApproveOnDifferentIds() throws Exception { assertTrue(approver.approve(id, content)); assertTrue(approver.approve("differentId", content)); }
@Override public boolean approve(String id, byte[] content) { if (alreadyWritten.contains(id)) { return false; } else { alreadyWritten.add(id); return true; } }
DeduplicationIdentifiableContentApprover implements
		IdentifiableContentApprover { @Override public boolean approve(String id, byte[] content) { if (alreadyWritten.contains(id)) { return false; } else { alreadyWritten.add(id); return true; } } }
DeduplicationIdentifiableContentApprover implements
		IdentifiableContentApprover { @Override public boolean approve(String id, byte[] content) { if (alreadyWritten.contains(id)) { return false; } else { alreadyWritten.add(id); return true; } }  }
DeduplicationIdentifiableContentApprover implements
		IdentifiableContentApprover { @Override public boolean approve(String id, byte[] content) { if (alreadyWritten.contains(id)) { return false; } else { alreadyWritten.add(id); return true; } }  @Override boolean approve(String id, byte[] content); }
DeduplicationIdentifiableContentApprover implements
		IdentifiableContentApprover { @Override public boolean approve(String id, byte[] content) { if (alreadyWritten.contains(id)) { return false; } else { alreadyWritten.add(id); return true; } }  @Override boolean approve(String id, byte[] content);  }