Tag: mockito

Mockito can only mock visible & non-final classes

While using Test Driven Development(TDD) we need to mock class/interface for the testing purpose. I recently came through this error “Mockito can only mock visible & non-final classes” while using mockito to mock an interface. Everything was looking fine, yet

Posted in Java, Test driven development Tagged with: , , ,
%d bloggers like this: