Beispiel #1
0
        public void IsSatisfiedBy_returns_false_if_type_does_not_match([Frozen] Type serviceType, ServiceTypeSpecification sut, Type anotherServiceType)
        {
            Assume.That(serviceType, Is.Not.EqualTo(anotherServiceType));

            var result = sut.IsSatisfiedBy(serviceType);

            Assert.That(result, Is.False);
        }
Beispiel #2
0
        public void IsSatisfiedBy_returns_false_if_type_is_null(ServiceTypeSpecification sut)
        {
            var result = sut.IsSatisfiedBy(null);

            Assert.That(result, Is.False);
        }
Beispiel #3
0
        public void IsSatisfiedBy_returns_true_if_type_matches([Frozen] Type serviceType, ServiceTypeSpecification sut)
        {
            var result = sut.IsSatisfiedBy(serviceType);

            Assert.That(result, Is.True);
        }