public void TestWithFilterOn()
        {
            var target = new CompositeTarget("MyName");
            var testTarget = new TestTarget();
            target.Targets.Add(testTarget);
            var filter = new TestPostFilter {CanLogResult = false};
            target.AddFilter(filter);

            target.Enqueue(new LogEntry());

            Assert.Empty(testTarget.Entries);
        }
        public void TestWithFilterOn()
        {
            var target     = new CompositeTarget("MyName");
            var testTarget = new TestTarget();

            target.Targets.Add(testTarget);
            var filter = new TestPostFilter {
                CanLogResult = false
            };

            target.AddFilter(filter);

            target.Enqueue(new LogEntry());

            Assert.Empty(testTarget.Entries);
        }