public void ValidateText(string innerText, bool expected)
        {
            var restriction = new TokenRestriction();
            var type        = Substitute.ForPartsOf <OpenXmlSimpleType>();

            type.InnerText.Returns(innerText);

            Assert.Equal(expected, restriction.ValidateValueType(type));
        }
 public void VerifyTOKEN(string text, bool expected)
 {
     Assert.Equal(expected, TokenRestriction.VerifyTOKEN(text));
 }