public void ToHex_NewLineCodes_Test(Options.NewLineCodes code, string expect)
 {
     Assert.AreEqual(expect, code.ToHex());
 }
 public void GetEnumProperty_Test(Options.NewLineCodes item, string expectedEntity, string expectedEscaped)
 {
     var actualEntity = item.GetEnumProperty(Options.EntityProperty);
     if (expectedEntity != null) {
         Assert.AreEqual(expectedEntity, actualEntity);
     } else {
         Assert.Null(actualEntity);
     }
     var actualEscaped = item.GetEnumProperty(Options.EscapedProperty);
     if (expectedEscaped != null) {
         Assert.AreEqual(expectedEscaped, actualEscaped);
     } else {
         Assert.Null(actualEscaped);
     }
 }