示例#1
0
        public void IsXmlEncoded_ValidInput_ReturnsTrue()
        {
            // Arrange
            var input = "MSH.1>MSH.2>";

            // Act / Assert
            Assert.IsTrue(EncodingDetector.IsXmlEncoded(input));
        }
示例#2
0
 public void IsXmlEncoded_InvalidInput_ReturnsFalse(string input)
 {
     // Arrange / Act / Assert
     Assert.IsFalse(EncodingDetector.IsXmlEncoded(input));
 }