Beispiel #1
0
        public void SelectsTypeIs()
        {
            var spec = new TypeIs<Attribute>(typeof(FlagsAttribute));

            Assert.That(spec.IsSatisfiedBy(new FlagsAttribute()), Is.True);
            Assert.That(spec.IsSatisfiedBy(new ExplicitAttribute()), Is.False);
        }