Package org.powermock.api.mockito.repackaged
package org.powermock.api.mockito.repackaged
Mockito related CGLIB stuff. Repackaged from Mockito 1.10.19 with public visibility.
-
ClassDescriptionThis is responsible for serializing a mock, it is enabled if the mock is implementing
Serializable
.Simple interface that hold a correctwriteReplace
signature that can be seen by anObjectOutputStream
.This is the serialization proxy that will encapsulate the real mock data as a byte array.Special Mockito awareObjectInputStream
that will resolve the Mockito proxy class.Special Mockito awareObjectOutputStream
.A MockMaker that uses cglib to generate mocks on a JVM.Inspired on jMock (thanks jMock guys!!!)Should be one instance per mock instance, see CglibMockMaker.Offer a Serializable implementation of the NoOp CGLIB callback.