@Test(expected = IllegalStateException.class)
@TestDir
public void illegalState3() throws Exception {

  Server server = new Server("server", TestDirHelper.getTestDir().getAbsolutePath(), new Configuration(false));
  server.setService(null);
}