public void ReturnInvalidForMissingAttribute()
        {
            var element  = "<w>read</w>".ToXElement();
            var strategy = new WStrategy();
            var errors   = strategy.Verify(element);

            Assert.AreEqual(VerificationState.MissingAttribute, errors.First().State);
        }
        public void ReturnInvalidForInvalidAttributeValue()
        {
            var element  = "<w role=\"amazon:UNKNOWN\">read</w>".ToXElement();
            var strategy = new WStrategy();
            var errors   = strategy.Verify(element);

            Assert.AreEqual(VerificationState.InvalidAttributeValue, errors.First().State);
        }
        public void ReturnValidForValidTag()
        {
            var element  = "<w role=\"amazon:VBD\">read</w>".ToXElement();
            var strategy = new WStrategy();
            var errors   = strategy.Verify(element);

            Assert.AreEqual(0, errors.Count());
        }