use of com.hazelcast.test.starter.constructor.HazelcastJsonValueConstructor in project hazelcast by hazelcast.
the class HazelcastJsonValueConstructorTest method test.
@Test
public void test() {
HazelcastJsonValue value = new HazelcastJsonValue("{\"a\": 11}");
HazelcastJsonValueConstructor constructor = new HazelcastJsonValueConstructor(HazelcastJsonValue.class);
HazelcastJsonValue cloned = (HazelcastJsonValue) constructor.createNew(value);
assertEquals(cloned, value);
}
Aggregations