use of org.mule.runtime.module.artifact.api.serializer.protocol.CustomJavaSerializationProtocol in project mule by mulesoft.
the class CustomJavaSerializationProtocolTestCase method doSetUp.
@Override
protected void doSetUp() throws Exception {
classLoaderRepository = mock(ClassLoaderRepository.class);
when(classLoaderRepository.getId(getClass().getClassLoader())).thenReturn(empty());
when(classLoaderRepository.getId(null)).thenReturn(empty());
serializationProtocol = new CustomJavaSerializationProtocol(classLoaderRepository);
initialiseIfNeeded(serializationProtocol, true, muleContext);
}
Aggregations