@Test public void testGetSpace() { final OrganizationalUnitImpl space = new OrganizationalUnitImpl("test", "org.test"); doReturn(space).when(organizationalUnitService).getOrganizationalUnit("test", true); assertEquals(space, spacesScreenService.getSpace("test")); }
@Override public OrganizationalUnit getSpace(final String name) { return organizationalUnitService.getOrganizationalUnit(name, true); }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public OrganizationalUnit getSpace(final String name) { return organizationalUnitService.getOrganizationalUnit(name, true); } }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public OrganizationalUnit getSpace(final String name) { return organizationalUnitService.getOrganizationalUnit(name, true); } SpacesScreenServiceImpl(); @Inject  SpacesScreenServiceImpl(final OrganizationalUnitService organizationalUnitService,
                                   final SessionInfo sessionInfo); }
SpacesScreenServiceImpl implements SpacesScreenService { @Override public OrganizationalUnit getSpace(final String name) { return organizationalUnitService.getOrganizationalUnit(name, true); } 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 OrganizationalUnit getSpace(final String name) { return organizationalUnitService.getOrganizationalUnit(name, true); } 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);  }