Mockito based test code does not work any more by migrating from Fuse 6.x to 7.x
Issue
By migrating mockito based test code from Fuse 6.x to Fuse 7.x, it does not work any more with Exception.
java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$xxxx cannot be cast to java.lang.String
Environment
- Red Hat Fuse
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.