@Test
public void testNonSerializable1() throws IgniteCheckedException {

    OptimizedMarshaller marsh = marshaller();
    marsh.setRequireSerializable(false);
    byte[] bytes = marsh.marshal(new TcpDiscoveryVmIpFinder());
    TcpDiscoveryIpFinder ipFinder = marsh.unmarshal(bytes, null);
    assertFalse(ipFinder.isShared());
    ipFinder = marsh.unmarshal(marsh.marshal(new TcpDiscoveryVmIpFinder(true)), null);
    assertTrue(ipFinder.isShared());
}