I have a simple class Foo to be mocked:
Foo
public class Foo { private String name; public Foo() { } public Foo(String name) { this.nam
You need to call real methods on the mocked objects. use @Spy