@Test public void getReference() throws ComponentLookupException, QueryException { Group g = new DefaultGroup(null); Assert.assertNull(g.getReference()); DocumentReference a = new DocumentReference("xwiki", "Groups", "Group A"); Assert.assertEquals(a, new DefaultGroup(a).getReference()); }
@Override public DocumentReference getReference() { return this.reference; }
DefaultGroup implements Group { @Override public DocumentReference getReference() { return this.reference; } }
DefaultGroup implements Group { @Override public DocumentReference getReference() { return this.reference; } DefaultGroup(DocumentReference reference); }
DefaultGroup implements Group { @Override public DocumentReference getReference() { return this.reference; } DefaultGroup(DocumentReference reference); @Override DocumentReference getReference(); @Override String toString(); }
DefaultGroup implements Group { @Override public DocumentReference getReference() { return this.reference; } DefaultGroup(DocumentReference reference); @Override DocumentReference getReference(); @Override String toString();  }