public void GetErrorMessage_GreaterThan() { String expected = String.Format(Validations.GreaterThan, "GreaterThan", 128); String actual = adapter.GetErrorMessage(context); Assert.Equal(expected, actual); }
public void GetErrorMessage_GreaterThan() { String expected = Validation.For("GreaterThan", context.ModelMetadata.PropertyName, 128); String actual = adapter.GetErrorMessage(context); Assert.Equal(expected, actual); }