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

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

            var operation = MockResolveOperation();

            source.OperationSuccess(operation, "instance");
            var e = Assert.Single(subscriber.Events);

            Assert.Equal(DiagnosticEventKeys.OperationSuccess, e.Key);
            Assert.IsType <OperationSuccessDiagnosticData>(e.Value);
        }