ACE implements Serializable, Cloneable { @Override public String toString() { return username + ':' + permission + ':' + isGranted; } ACE(String username, String permission);  ACE(String username, String permission, boolean isGranted);  ACE(); String getUsername(); String getPermission(); boolean isGranted(); boolean isDenied(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); @Override Object clone(); static final ACE BLOCK; }
@Test public void testToString() { assertEquals("bogdan:write:false", ace.toString()); }