org.mockito.exceptions.misusing.NotAMockException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unit Testing of Spring MVC Controllers: REST API
    via by Unknown author,
  • Unit Testing of Spring MVC Controllers: REST API
    via by Unknown author,
    • org.mockito.exceptions.misusing.NotAMockException: Argument should be a mock, but is: class com.sun.proxy.$Proxy36 at com.travenion.controllers.customer.CustomerControllerTest.setup(CustomerControllerTest.java:50)
    No Bugmate found.