java - JMockit: Mocking an empty interface -
public interface connection extends session {} i need mock interface using 1 of methods in session class.
new mockup<connection>() { @mock objectinfo thismethod(returnobject object) { return expectedobject; } }; thismethod doesnt gets called during mockup.
how go mocking connection interface in case?
Comments
Post a Comment