public void testDeserialization() throws Exception {
setupClientAndRhino("simple-dlwu-proxy-factory");
testUtilities.readResourceIntoRhino("/deserializationTests.js");
DataBinding dataBinding = new JAXBDataBinding(TestBean3.class, TestBean2.class);
assertNotNull(dataBinding);
TestBean3 bean = new TestBean3();
bean.stringItem = "bean1>stringItem";
bean.doubleItem = -1.0;
String serialized = serializeObject(dataBinding, bean);
testUtilities.rhinoCallInContext("deserializeTestBean3_1", serialized);
bean = new TestBean3();
bean.stringItem = null;
bean.intItem = 21;
bean.longItem = 200000001;
bean.optionalIntItem = 456123;
bean.optionalIntArrayItem = new int[4];