FormatErrorMessage() 공개 메소드

public FormatErrorMessage ( String name ) : String
name String
리턴 String
        public void FormatErrorMessage_ForName()
        {
            attribute = new FileSizeAttribute(12.25);

            String expected = String.Format(Validations.FileSize, "File", attribute.MaximumMB);
            String actual = attribute.FormatErrorMessage("File");

            Assert.Equal(expected, actual);
        }