public void ConstraintToken_Create_WhenPinned_ShouldreturnPinned()
        {
            byte[] content = new byte[] { (byte)ElementTypes.Pinned };
            ConstraintSignatureToken token = new ConstraintSignatureToken(content, 0);

            Assert.AreEqual(ElementTypes.Pinned, token.Constraint);
        }
        public void ConstraintToken_IsToken_WhenNotPinned_IsNotToken()
        {
            byte[] content = new byte[] { 0 };

            bool result = ConstraintSignatureToken.IsToken(content, 0);

            Assert.IsFalse(result);
        }
        public void ConstraintToken_IsToken_WhenPinned_IsToken()
        {
            byte[] content = new byte[] { (byte)ElementTypes.Pinned };

            bool result = ConstraintSignatureToken.IsToken(content, 0);

            Assert.IsTrue(result);
        }
        public void ConstraintToken_ToString_WhenPinned_ShouldOutputCorrectly()
        {
            byte[] content = new byte[] { (byte)ElementTypes.Pinned };
            ConstraintSignatureToken token = new ConstraintSignatureToken(content, 0);

            string result = token.ToString();

            Assert.AreEqual("[Constraint: Pinned]", result);
        }