Refactor WhiteBox to support the following. Maybe even create separate project?
createPartialMock(SomeClass.class, methodCalled("qwe"), methodCalled("asd"));
createPartialMock(SomeClass.class, methodReturning(Qwe.class),
methodCalled("asd"));
createPartialMock(SomeClass.class, methodReturning(Qwe.class));
createPartialMock(SomeClass.class, withArguments(Qwe.class, Arg.class));
invoke(methodReturning(Qwe.class))
invoke(privateMethodReturning(Qwe.class))
invoke(methodAnnotated(Qwe.class))
Original issue reported on code.google.com by jan.kron...@gmail.com on 14 Nov 2008 at 5:40
Original issue reported on code.google.com by
jan.kron...@gmail.com
on 14 Nov 2008 at 5:40