tkellogg/Moq.AutoMocker — pull request #7 by jeme (2014-05-21 13:19:14+00:00)
Title: Support for Arrays in constructors

This adds some support for creating test objects with array dependencies.

Basically if we have a constructor as:

```C#
public MyCtor(IService[] services) {
}
```

It will pass in the equivalent of `new IService[0]`, so an empty array.
That is unless the user has either registered a mock if `IService` or an instance of `IService[]` like so:

```C#
public void MockWithArrays {
var mocker = new AutoMocker();
IService service = GetService();
mocker.Use(new IService[] { service });
}

public void MockWithArrays2 {
var mocker = new AutoMocker();
IService service = GetService();
mocker.Use(service);
}

public void MockWithArrays3 {
var mocker = new AutoMocker();
mocker.Use(new Mock());
}
```