public void Inheritece() { var validator = new MustBeAtLeast18Async(); validator.Should().NotBeNull(); validator.Should().BeAssignableTo <ISpecificationAsync <Person> >(); validator.Should().BeAssignableTo <GenericSpecificationAsync <Person> >(); validator.Should().BeOfType <MustBeAtLeast18Async>(); }
public MethodsTests() { validator = new MustBeAtLeast18Async(); }