UnityAutoMoq icon indicating copy to clipboard operation
UnityAutoMoq copied to clipboard

Add support for abstract classes without parameterless constructor

Open dee-see opened this issue 10 years ago • 0 comments

The case for abstract classes that don't have a parameterless constructor needs needs to be specifically handled, otherwise Castle throws an exception when we try to create the mock object.

I have added support for that and I throw an exception consistent with Unity's when the constructor to use is ambiguous.

dee-see avatar Dec 29 '14 00:12 dee-see