Search in sources :

Example 1 with SystemServiceImpl

use of org.hudsonci.service.internal.SystemServiceImpl in project hudson-2.x by hudson.

the class SystemServiceImplTest method setUp.

@Before
public void setUp() throws Exception {
    mockStatic(Hudson.class);
    hudson = mock(Hudson.class);
    SecurityService security = mock(SecurityService.class);
    system = new SystemServiceImpl(security);
    system.setHudson(hudson);
}
Also used : SecurityService(org.hudsonci.service.SecurityService) Hudson(hudson.model.Hudson) SystemServiceImpl(org.hudsonci.service.internal.SystemServiceImpl) Before(org.junit.Before)

Aggregations

Hudson (hudson.model.Hudson)1 SecurityService (org.hudsonci.service.SecurityService)1 SystemServiceImpl (org.hudsonci.service.internal.SystemServiceImpl)1 Before (org.junit.Before)1