Search in sources :

Example 1 with JGroupsAddressKeyFormat

use of org.wildfly.clustering.server.group.JGroupsAddressSerializer.JGroupsAddressKeyFormat in project wildfly by wildfly.

the class JGroupsAddressSerializerTestCase method test.

@Test
public void test() throws IOException {
    JGroupsAddress address = new JGroupsAddress(UUID.randomUUID());
    new ExternalizerTester<>(new JGroupsAddressExternalizer()).test(address);
    new KeyFormatTester<>(new JGroupsAddressKeyFormat()).test(address);
}
Also used : JGroupsAddressExternalizer(org.wildfly.clustering.server.group.JGroupsAddressSerializer.JGroupsAddressExternalizer) JGroupsAddress(org.infinispan.remoting.transport.jgroups.JGroupsAddress) JGroupsAddressKeyFormat(org.wildfly.clustering.server.group.JGroupsAddressSerializer.JGroupsAddressKeyFormat) Test(org.junit.Test)

Aggregations

JGroupsAddress (org.infinispan.remoting.transport.jgroups.JGroupsAddress)1 Test (org.junit.Test)1 JGroupsAddressExternalizer (org.wildfly.clustering.server.group.JGroupsAddressSerializer.JGroupsAddressExternalizer)1 JGroupsAddressKeyFormat (org.wildfly.clustering.server.group.JGroupsAddressSerializer.JGroupsAddressKeyFormat)1