use of org.hudsonci.service.internal.ScriptServiceImpl in project hudson-2.x by hudson.
the class ScriptServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
// static methods
mockStatic(Hudson.class);
// final and native
hudson = mock(Hudson.class);
mockStatic(RemotingDiagnostics.class);
mockStatic(MasterComputer.class);
MockitoAnnotations.initMocks(this);
scriptService = new ScriptServiceImpl(security);
scriptService.setHudson(hudson);
}
Aggregations