@Test
public void testStartInvalidState() {

  boolean success = false;
  try {
    httpServer.start();
    success = true;
  } catch (IllegalStateException e) {
    logger.info("Caught expected exception: {}", e.getMessage());
  }
  Assert.assertFalse(success);
}