public void ReturnTrueAndMatchMessage_WhenArgumentIsObjectAndTypeIsString()
{
// Arrange.
Type type = typeof(string);
NotInstanceOfTypeValidationPredicate<object> validationPredicate = new NotInstanceOfTypeValidationPredicate<object>(type);
// Act.
IValidationPredicateResult result = validationPredicate.Match(new object());
// Assert.
Assert.IsTrue(result.IsMatch);
Assert.AreEqual("The argument is not instance of type <System.String>.", result.Message);
}
}