verifyZeroInteractions(exitHelper);
}
@Test
public void shouldReThrowWebServerException() throws IOException, InterruptedException {
WebDaemon webDaemon = spy(new WebDaemon());
ReflectionUtils.setField(main, "webDaemon", webDaemon);
InterruptedException toBeThrown = new InterruptedException("Ouch!");
doThrow(toBeThrown).when(webDaemon).start(any(ConfigurationForServer.class));