final MyObject myObject = context.mock(MyObject.class)This is plain vanilla code, but things are getting even better in 2.6.0 thanks to the @Mock annotation:
@Mock MyClass myClassI think it will be difficult to shrink it more than this... looking forward to the release!
No comments:
Post a Comment