public void IsXmlEncoded_ValidInput_ReturnsTrue() { // Arrange var input = "MSH.1>MSH.2>"; // Act / Assert Assert.IsTrue(EncodingDetector.IsXmlEncoded(input)); }
public void IsXmlEncoded_InvalidInput_ReturnsFalse(string input) { // Arrange / Act / Assert Assert.IsFalse(EncodingDetector.IsXmlEncoded(input)); }