### Question:
UIRepositoryObjectAcl extends XulEventSourceAdapter implements java.io.Serializable { public EnumSet<RepositoryFilePermission> getPermissionSet() { return ace.getPermissions(); } 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 testGetPermissionSet() { UIRepositoryObjectAcl uiAcl = new UIRepositoryObjectAcl( createObjectAce() ); EnumSet<RepositoryFilePermission> permissions = uiAcl.getPermissionSet(); assertNotNull( permissions ); assertEquals( 1, permissions.size() ); assertTrue( permissions.contains( RepositoryFilePermission.ALL ) ); }