use of org.hudsonci.service.internal.ProjectServiceImpl in project hudson-2.x by hudson.
the class ProjectServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
mockStatic(Hudson.class);
hudson = PowerMockito.mock(Hudson.class);
PowerMockito.mockStatic(JobUuid.class);
MockitoAnnotations.initMocks(this);
this.projectService = new ProjectServiceImpl(securityService);
this.projectService.setHudson(hudson);
assertThat(getInst(), notNullValue());
}
Aggregations