@Test public void getUser() throws ComponentLookupException { Collaborator c = new DefaultCollaborator(COLLABORATOR, this.access, this.helper); Assert.assertSame(COLLABORATOR, c.getUser()); }
@Override public EntityReference getUser() { return this.user; }
DefaultCollaborator implements Collaborator { @Override public EntityReference getUser() { return this.user; } }
DefaultCollaborator implements Collaborator { @Override public EntityReference getUser() { return this.user; } DefaultCollaborator(EntityReference user, AccessLevel access, EntityAccessHelper helper); }
DefaultCollaborator implements Collaborator { @Override public EntityReference getUser() { return this.user; } DefaultCollaborator(EntityReference user, AccessLevel access, EntityAccessHelper helper); @Override String getType(); @Override boolean isUser(); @Override boolean isGroup(); @Override EntityReference getUser(); @Override String getUsername(); @Override AccessLevel getAccessLevel(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
DefaultCollaborator implements Collaborator { @Override public EntityReference getUser() { return this.user; } DefaultCollaborator(EntityReference user, AccessLevel access, EntityAccessHelper helper); @Override String getType(); @Override boolean isUser(); @Override boolean isGroup(); @Override EntityReference getUser(); @Override String getUsername(); @Override AccessLevel getAccessLevel(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }