use of org.apache.ignite.internal.binary.mutabletest.GridBinaryMarshalerAwareTestClass in project ignite by apache.
the class BinaryObjectBuilderAdditionalSelfTest method testEditObjectWithRawData.
/**
*
*/
public void testEditObjectWithRawData() {
GridBinaryMarshalerAwareTestClass obj = new GridBinaryMarshalerAwareTestClass();
obj.s = "a";
obj.sRaw = "aa";
BinaryObjectBuilderImpl mutableObj = wrap(obj);
mutableObj.setField("s", "z");
GridBinaryMarshalerAwareTestClass res = mutableObj.build().deserialize();
assertEquals("z", res.s);
assertEquals("aa", res.sRaw);
}
Aggregations