Ejemplo n.º 1
0
        public void ProcessRemoval_Matched()
        {
            var telemetry = new EventTelemetry("CoffeeFix.Console has started!");

            var next = new NextProcessor();
            var sut  = new MyTelemetryProcessor(next);

            sut.Process(telemetry);

            Assert.IsFalse(next.WasTriggered, "The next processor should not be triggered!");
        }
Ejemplo n.º 2
0
        public void ProcessRemoval_NoMatch()
        {
            var telemetry = new EventTelemetry("This does not Match");

            var next = new NextProcessor();
            var sut  = new MyTelemetryProcessor(next);

            sut.Process(telemetry);

            Assert.IsTrue(next.WasTriggered, "The next processor should be triggered!");
        }