@Test public void testIsValidGroupIdFalse() { doReturn(false).when(organizationalUnitService).isValidGroupId("org.foo"); assertFalse(spacesScreenService.isValidGroupId("org.foo")); }
@Override public boolean isValidGroupId(final String groupId) { return organizationalUnitService.isValidGroupId(groupId); }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public boolean isValidGroupId(final String groupId) { return organizationalUnitService.isValidGroupId(groupId); } }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public boolean isValidGroupId(final String groupId) { return organizationalUnitService.isValidGroupId(groupId); } SpacesScreenServiceImpl(); @Inject  SpacesScreenServiceImpl(final OrganizationalUnitService organizationalUnitService,
                                   final SessionInfo sessionInfo); }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public boolean isValidGroupId(final String groupId) { return organizationalUnitService.isValidGroupId(groupId); } SpacesScreenServiceImpl(); @Inject  SpacesScreenServiceImpl(final OrganizationalUnitService organizationalUnitService,
                                   final SessionInfo sessionInfo); @Override Collection<OrganizationalUnit> getSpaces(); @Override OrganizationalUnit getSpace(final String name); @Override boolean isValidGroupId(final String groupId); @Override Response postSpace(final NewSpace newSpace); }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public boolean isValidGroupId(final String groupId) { return organizationalUnitService.isValidGroupId(groupId); } SpacesScreenServiceImpl(); @Inject  SpacesScreenServiceImpl(final OrganizationalUnitService organizationalUnitService,
                                   final SessionInfo sessionInfo); @Override Collection<OrganizationalUnit> getSpaces(); @Override OrganizationalUnit getSpace(final String name); @Override boolean isValidGroupId(final String groupId); @Override Response postSpace(final NewSpace newSpace);  }