public void Matches_Value_Returns(object value, bool strict, bool expected)
        {
            OfTypeIntegerConstraint constraint = new OfTypeIntegerConstraint(strict);

            Assert.That(constraint.Matches(new JValue(value), null), Is.EqualTo(expected));
        }
 public void Matches_JObject_ReturnsFalse()
 {
     OfTypeIntegerConstraint constraint = new OfTypeIntegerConstraint(true);
     Assert.That(constraint.Matches(new JObject(), null), Is.False);
 }