### Question:
UIRepositoryObjectAcl extends XulEventSourceAdapter implements java.io.Serializable { @Override public String toString() { return ace.getRecipient().toString(); } UIRepositoryObjectAcl( ObjectAce ace ); @Override boolean equals( Object obj ); ObjectAce getAce(); String getRecipientName(); void setRecipientName( String recipientName ); ObjectRecipient.Type getRecipientType(); void setRecipientType( ObjectRecipient.Type recipientType ); EnumSet<RepositoryFilePermission> getPermissionSet(); void setPermissionSet( RepositoryFilePermission first, RepositoryFilePermission... rest ); void setPermissionSet( EnumSet<RepositoryFilePermission> permissionSet ); void addPermission( RepositoryFilePermission permissionToAdd ); void removePermission( RepositoryFilePermission permissionToRemove ); @Override String toString();  }### Answer:
@Test public void testToString() { UIRepositoryObjectAcl uiAcl = new UIRepositoryObjectAcl( createObjectAce() ); String s = uiAcl.toString(); assertNotNull( s ); assertTrue( s.contains( RECIPIENT1 ) ); }