@Override
  public synchronized void start() {
    LOG.info("Starting {}", this.getClass().getSimpleName());
    startRejectingServer();
  }
@Test
  public void doubleStartRejectingServer() {
    RpcServerService service =
        RpcServerService.Factory.create(mRpcAddress, mMasterProcess, mRegistry);

    service.start();
    Assert.assertThrows("rejecting server must not be running",
        IllegalStateException.class, service::start);
  }