public void Should_Be_Max_Flase(object value) { var attr = new MaxLenghtAttribute(2); Assert.False(attr.IsValid(value)); }
public void Should_Be_Max_True(object value) { var attr = new MaxLenghtAttribute(4); Assert.True(attr.IsValid(value)); }