Search in sources :

Example 1 with GroupService

use of org.apereo.portal.services.GroupService in project uPortal by Jasig.

the class PagsRESTControllerTest method setup.

@Before
public void setup() throws Exception {
    pagsRESTController = new PagsRESTController();
    pagsService = new PagsService();
    pagsService = Mockito.mock(PagsService.class);
    groupService = Mockito.mock(GroupService.class);
    req = new MockHttpServletRequest();
    res = new MockHttpServletResponse();
    MockitoAnnotations.initMocks(this);
}
Also used : MockHttpServletRequest(org.springframework.mock.web.MockHttpServletRequest) GroupService(org.apereo.portal.services.GroupService) MockHttpServletResponse(org.springframework.mock.web.MockHttpServletResponse) PagsService(org.apereo.portal.groups.pags.dao.PagsService) Before(org.junit.Before)

Aggregations

PagsService (org.apereo.portal.groups.pags.dao.PagsService)1 GroupService (org.apereo.portal.services.GroupService)1 Before (org.junit.Before)1 MockHttpServletRequest (org.springframework.mock.web.MockHttpServletRequest)1 MockHttpServletResponse (org.springframework.mock.web.MockHttpServletResponse)1