@Test
public void testHappyPath() throws IOException, ScnNotFoundException, OffsetNotFoundException
{

  final Logger log = Logger.getLogger("TestNettyHttpDatabusRelayConnection.testHappyPath");
  //NettyHttpDatabusRelayConnection.LOG.setLevel(Level.DEBUG);
  DbusEventBuffer buf = createSimpleBuffer();
  TestingConnectionCallback callback = TestingConnectionCallback.createAndStart("testHappyPath");
  DummyRemoteExceptionHandler remoteExceptionHandler = new DummyRemoteExceptionHandler();
  final NettyHttpDatabusRelayConnection conn =
      (NettyHttpDatabusRelayConnection)
      CONN_FACTORY.createRelayConnection(RELAY_SERVER_INFO, callback, remoteExceptionHandler);
  conn.getHandler().getLog().setLevel(Level.DEBUG);
  Assert.assertEquals(MAX_EVENT_VERSION, conn.getMaxEventVersion()); // verify the version - current DBUS_EVENT_V2
  try
  {
    runHappyPathIteration(log, buf, callback, remoteExceptionHandler, conn);
  }
  finally
  {
    conn.close();
    callback.shutdown();
  }
}