Moq/moq4 — pull request #66 by alextercete (2013-12-10 23:23:07+00:00)
Title: Avoid NullReferenceException with async methods

When using async methods and loose Mock Behavior, calls to `Task` methods give `NullReferenceException`, since `default(Task)` is `null`. Calls to `Task.Wait()` and `Task.Result` should follow the loose behavior: do nothing and return the default value for `T`, respectively.

Related to #64.