public void OperationFailure_CorrectEventContent()
        {
            var source     = new DiagnosticListener("Autofac");
            var subscriber = new MockSubscriber();

            subscriber.Enable(DiagnosticEventKeys.OperationFailure);
            source.Subscribe(subscriber, subscriber.IsEnabled);

            var operation = MockResolveOperation();

            source.OperationFailure(operation, new DivideByZeroException());
            var e = Assert.Single(subscriber.Events);

            Assert.Equal(DiagnosticEventKeys.OperationFailure, e.Key);
            Assert.IsType <OperationFailureDiagnosticData>(e.Value);
        }