Closed Krabi closed 11 years ago
Hi Krabi,
JsMockito can only verify calls made to the spy facade (what is returned from Mockito.spy(object)
). Inside the getSum
method, this
refers to the actual object and not the spy facade - hence calls made in this way will not be recorded for verification.
Cheers, Chris