public void Parse_ValidFormats_ExpectTheValueNotToBeEmpty() { String[] strings = { "1", "11111", " aaabbb ", "ccccdddddd ", " ccccdddddd", " [email protected]", "01234567890123456789012345678901234567890123456789", " ??? " }; foreach (string s in strings) { var h = new SipCallIdHeaderParser().Parse(s); h.Value.Should().NotBeEmpty(); h.Value.Should().NotContain(" "); } }
public void Parse_ValidFormats_ExpectTheValueNotToBeEmpty() { String[] strings = { "1", "11111", " aaabbb ", "ccccdddddd ", " ccccdddddd", " [email protected]", "01234567890123456789012345678901234567890123456789", " ??? " }; foreach (string s in strings) { var h = new SipCallIdHeaderParser().Parse(s); h.Value.Should().NotBeEmpty(); h.Value.Should().NotContain(" "); } }