public void ThrowArgumentNullException_WhenTypeArgumentIsNull() { // Arrange. Type type = null; // Act & Assert. Ensure.ArgumentNullExceptionIsThrown(() => { new InstanceOfTypeValidationPredicate<string>(type); }, "type"); }