  @Test
  public void delegateRollback() throws Exception {

    when(server.rollback(rollbackMessage)).thenReturn(acceptRejectResponse);

    NomadEndpoint<String> namedServer = new NomadEndpoint<>(name, server);
    assertEquals(acceptRejectResponse, namedServer.rollback(rollbackMessage));
    verify(server).rollback(rollbackMessage);
  }