@Test public void getGroupWithMissingName() throws ComponentLookupException { Assert.assertNull(this.mocker.getComponentUnderTest().getGroup((String) null)); Assert.assertNull(this.mocker.getComponentUnderTest().getGroup("")); }
@Override public Group getGroup(String name) { if (StringUtils.isBlank(name)) { return null; } DocumentReference groupReference = this.resolver.resolve(name, GROUP_SPACE); return new DefaultGroup(groupReference); }
DefaultGroupManager implements GroupManager { @Override public Group getGroup(String name) { if (StringUtils.isBlank(name)) { return null; } DocumentReference groupReference = this.resolver.resolve(name, GROUP_SPACE); return new DefaultGroup(groupReference); } }
DefaultGroupManager implements GroupManager { @Override public Group getGroup(String name) { if (StringUtils.isBlank(name)) { return null; } DocumentReference groupReference = this.resolver.resolve(name, GROUP_SPACE); return new DefaultGroup(groupReference); }  }
DefaultGroupManager implements GroupManager { @Override public Group getGroup(String name) { if (StringUtils.isBlank(name)) { return null; } DocumentReference groupReference = this.resolver.resolve(name, GROUP_SPACE); return new DefaultGroup(groupReference); }  @Override Set<Group> getGroupsForUser(User user); @Override Group getGroup(String name); @Override Group getGroup(DocumentReference groupReference); @Override Set<Document> getAllMembersForGroup(String name); }
DefaultGroupManager implements GroupManager { @Override public Group getGroup(String name) { if (StringUtils.isBlank(name)) { return null; } DocumentReference groupReference = this.resolver.resolve(name, GROUP_SPACE); return new DefaultGroup(groupReference); }  @Override Set<Group> getGroupsForUser(User user); @Override Group getGroup(String name); @Override Group getGroup(DocumentReference groupReference); @Override Set<Document> getAllMembersForGroup(String name);  }