public void GetErrorMessage_EqualTo()
        {
            String expected = Validation.For("EqualTo", context.ModelMetadata.PropertyName, "");
            String actual   = adapter.GetErrorMessage(context);

            Assert.Equal(expected, actual);
        }
Пример #2
0
        public void GetErrorMessage_EqualTo()
        {
            String expected = String.Format(Validations.EqualTo, "EqualTo", "");
            String actual   = adapter.GetErrorMessage(context);

            Assert.Equal(expected, actual);
        }