toHyphenatedString() public method

public toHyphenatedString ( ) : string
return string
Ejemplo n.º 1
0
        public void testToHyphenatedString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123-45-6789", theSSN.toHyphenatedString(), "Expected 123-45-6789");
        }
Ejemplo n.º 2
0
 public void testToHyphenatedString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123-45-6789", theSSN.toHyphenatedString(), "Expected 123-45-6789");
 }