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