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