public void testGetAttributeWrappingSerializableValueHolder() {
//test the case where the classloader is compatible
session = createMock(HttpSession.class);
SerializableValueHolder valueHolder = new SerializableValueHolder();
SerializationHelper helper = new SerializationHelper(new ClassLoaderAwareSerializationStreamFactory(newModuleClassLoader()));
Object clonedObject = helper.clone(valueHolder);
expect(session.getAttribute("myAttribute")).andReturn(clonedObject);
session.setAttribute(eq("myAttribute"), EasyMock.anyObject());