public class ClassResolverConfigTest extends WithClassLoaderTest {
@Override
protected GlobalConfigurationBuilder createSecondGlobalCfgBuilder(ClassLoader cl) {
GlobalConfigurationBuilder gcBuilder = super.createSecondGlobalCfgBuilder(cl);
gcBuilder.serialization().classResolver(new DefaultContextClassResolver(cl));
return gcBuilder;
}