I have interface
Interface MyInterface { myMethodToBeVerified (String, String); }
And implementation of interface is
clas
Your class MyClass creates a new MyClassToBeTested, instead of using your mock. My article on the Mockito wiki describes two ways of dealing with this.
MyClass
MyClassToBeTested