Top "Byte-buddy" questions

Byte Buddy is a code generation and manipulation library for creating and modifying Java classes during the runtime of a Java application and without the help of a compiler.

Mockito fails with inlined mocks enabled with Invalid paramter name exception

I've enabled inlined mocks so that I can mock final classes but now I get the following exception when running …

java junit mockito byte-buddy
Mockito 2 for Android Instrumentation test : Could not initialize plugin: interface org.mockito.plugins.MockMaker

I'm using Mockito 2 and Espresso for Unit tests, and met a problem trying to use Mockito 2 in Instrumentation test. While …

android kotlin mockito android-espresso byte-buddy