use of com.hazelcast.test.starter.constructor.RaftGroupIdConstructor in project hazelcast by hazelcast.
the class RaftGroupIdConstructorTest method test.
@Test
public void test() {
RaftGroupId original = new RaftGroupId(HazelcastTestSupport.randomString(), -13, 992);
RaftGroupIdConstructor constructor = new RaftGroupIdConstructor(RaftGroupId.class);
RaftGroupId clone = (RaftGroupId) constructor.createNew(original);
assertEquals(original, clone);
}
Aggregations