6768697071727374
public void setUp() throws Exception { mockStatic(Hudson.class); // static methods hudson = mock(Hudson.class); // final and native MockitoAnnotations.initMocks(this); nodeService = new NodeServiceImpl(security); nodeService.setHudson(hudson); }