public void VerifyBasic()
        {
            var instance = new BasicSubject {
                Name = "Hello World", Number = 123
            };
            var serializer = new ConfigurationContainer().Create().ForTesting();

            serializer.Cycle(instance).Should().BeEquivalentTo(instance);

            var element = new Basic[] { instance };

            serializer.Cycle(element).Should().BeEquivalentTo(element.Cast <Basic>());
        }
        public void Default_exception_locator_uses_exception_payload()
        {
            var client = new EventSourceRavenClient("http://*****:*****@example.com/project-id");

            var events = new BasicSubject<EventEntry>();

            var sinkSubscription = events.LogToSentry(client);

            var results = sinkSubscription.Sink.ExceptionLocator.Locate(new Dictionary<string, object>
            {
                { "first", 1},
                { "second", 2},
                {"exception", "Exception : text"}
            });

            Assert.Equal("text", results.First().Value);
        }