OK, so you must call the constructor with all arguments... but would
On Feb 28, 10:30 am, Kris <
kris.karczmarc...@gmail.com> wrote:
> Unfortunately, due to AVM implementation and the object model it's not
> possible. The byte code generated class needs to extend the mocked type thus
> it calls a super class constructor. AVM does not allow creating instances
> other than calling the constructor.
>
> As far as the documentation - the only place at the moment are the release
> notes for 1.3 and below description. If you are interested in writing
> something up please let me know.
>
> At the moment [Mock] annotation uses these parameters
>
> type - class to mock
> mockName - optional mock instance name,
> argsList - public field or property that holds array with arguments
>
> The class (a bit dirty) that handles metadata is here:
>