This checks to see if the given object is null, and then throws RequiredObjectIsNullException if it is.
RequiredObjectIsNullException
Assert.Required(parameter, "parameter is required.");