/** * Test verbose logging of object marshalling. * * @throws Exception If failed. */ @Test public void testFailedMarshallingLogging() throws Exception { BinaryMarshaller marshaller = createStandaloneBinaryMarshaller(); try { marshaller.marshal(new Value1()); } catch (BinaryObjectException ex) { assertTrue(ex.getMessage().contains( "object [typeName=org.apache.ignite.internal.binary.BinaryObjectExceptionSelfTest$Value1")); assertTrue(ex.getCause().getMessage().contains("field [name=objVal")); } }