public void Matches_should_return_false_for_a_delegate() { var sut = new IsConcreteClassSpecification(); Assert.That(() => sut.Matches(typeof(MyDelegate)), Is.False); }
public void Matches_should_return_false_for_an_abstract_class() { var sut = new IsConcreteClassSpecification(); Assert.That(() => sut.Matches(typeof(AbstractClass)), Is.False); }
public void Matches_should_return_false_for_a_struct() { var sut = new IsConcreteClassSpecification(); Assert.That(() => sut.Matches(typeof(AStruct)), Is.False); }
public void Matches_should_return_true_for_a_concrete_class() { var sut = new IsConcreteClassSpecification(); Assert.That(() => sut.Matches(typeof(ConcreteClass)), Is.True); }