public void OnException(ITransport transport, Exception exception) { Tracer.DebugFormat("MockTransportTest::onException - " + exception); exceptions.Add(exception); }