Binary package “libmockito-java” in ubuntu bionic

mocking framework for Java

 Mockito is a mocking library which lets you write tests with a
 clean and simple API.
 .
 It generates mocks using reflection, it records all mock invocations,
 including methods arguments.