public void no_filters_means_that_everything_is_revoked()
        {
            var sut = new NamespaceFilter();
            var actual = sut.IsSatisfiedBy(typeof (NoFilter));

            actual.Should().BeFalse();
        }
        public void child_ns_is_configured_to_be_allowed__so_allow_it()
        {
            var sut = new NamespaceFilter();
            sut.Allow("Griffin", true);
            var actual = sut.IsSatisfiedBy(typeof (NoFilter));

            actual.Should().BeTrue();
        }
        public void allow_root_but_reject_specific_child__make_sure_that_the_specific_NS_is_revoked()
        {
            var sut = new NamespaceFilter();
            sut.Revoke(typeof (NoFilter).Namespace, false);
            sut.Allow("Griffin", true);
            var actual = sut.IsSatisfiedBy(typeof (NoFilter));

            actual.Should().BeFalse();
        }