public void Test_Validate_Should_Return_Null_When_Class_Without_Attributes() { // Arrange var ValidateService = new ValidateService(); var testClass = new TestClassWithoutAttrs(); // Act var errors = ValidateService.Validate(testClass); // Assert Assert.IsNull(errors); }
public void IsValid_Should_Return_True_When_Class_Without_Attributes() { // Arrange var validator = new ValidationHelper(); var testClass = new TestClassWithoutAttrs(); // Act var errors = validator.IsValid(testClass); // Assert Assert.IsTrue(errors); }
public void Validate_Should_Return_Null_When_Class_Without_Attributes() { // Arrange var validator = new Validator(); var testClass = new TestClassWithoutAttrs(); // Act var errors = validator.Validate(testClass); // Assert Assert.IsNull(errors); }
public void Validate_Should_Return_Null_When_Class_Without_Attributes() { // Arrange var validator = new Validator(); var testClass = new TestClassWithoutAttrs(); // Act var errors = validator.Validate(testClass); // Assert Assert.IsNull(errors); }