public void testNonSerializable4() throws IgniteCheckedException {
  OptimizedMarshaller marsh=marshaller();
  marsh.setRequireSerializable(false);
  byte[] bytes=marsh.marshal(new GridMarshallerTestInheritedBean());
  info(Arrays.toString(bytes));
  GridMarshallerTestInheritedBean bean=marsh.unmarshal(bytes,null);
  assertTrue(bean.isFlag());
}

public void testNonSerializable4 ( ) throws IgniteCheckedException { OptimizedMarshaller marsh = marshaller ( ) ; marsh . setRequireSerializable ( false ) ; byte [ ] bytes = marsh . marshal ( new GridMarshallerTestInheritedBean ( ) ) ; info ( Arrays . toString ( bytes ) ) ; GridMarshallerTestInheritedBean bean = marsh . unmarshal ( bytes , null ) ; assertTrue ( bean . isFlag ( ) ) ; }
tests ability to marshal non - serializable objects .
