public void ShouldNotAcceptStringThatIsNull()
        {
            var constraint = new PrefixQueryConstraint("someString", "abc");

            Assert.IsFalse(constraint.Includes(null));
        }
        public void ShouldAcceptStringThatIsValue()
        {
            var constraint = new PrefixQueryConstraint("someString", "abc");

            Assert.IsTrue(constraint.Includes("abc"));
        }
        public void ShouldNotAcceptStringThatDoesntStartWithValue()
        {
            var constraint = new PrefixQueryConstraint("someString", "abc");

            Assert.IsFalse(constraint.Includes("def"));
        }
        public void ShouldReturnCategory()
        {
            var constraint = new PrefixQueryConstraint("someString", "abc");

            Assert.AreEqual("someString", constraint.Category);
        }
 public void ShouldReturnCategory()
 {
     var constraint = new PrefixQueryConstraint("someString", "abc");
       Assert.AreEqual("someString", constraint.Category);
 }
 public void ShouldNotAcceptStringThatIsNull()
 {
     var constraint = new PrefixQueryConstraint("someString", "abc");
       Assert.IsFalse(constraint.Includes(null));
 }
 public void ShouldNotAcceptStringThatDoesntStartWithValue()
 {
     var constraint = new PrefixQueryConstraint("someString", "abc");
       Assert.IsFalse(constraint.Includes("def"));
 }
 public void ShouldAcceptStringThatStartsWithValue()
 {
     var constraint = new PrefixQueryConstraint("someString", "abc");
       Assert.IsTrue(constraint.Includes("abcdef"));
 }