infinite / mockito-flex

0 stars 0 forks source link

Add metadata support #10

Closed infinite closed 10 years ago

infinite commented 10 years ago

Requested on a mailing list http://groups.google.pl/group/mockito-flex/browse_thread/thread/6a03997db1a78473.

Add [Mock] metadata to allow marking fields of the test class that should be mocked.

A parameter arguments='nameOfFieldWithArrayOfArguments| functionReturningArrayOfArguments' would be used to specify any arguments needed to create mock instance

A parameter name='' would be used to specify name of the mock object.

infinite commented 10 years ago

From loomis on 2010-02-03 17:47:34+00:00

Implemented in flex unit 4 integration.