use of org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller in project infinispan by infinispan.
the class ProtostreamUserMarshallerTest method testProtostreamMarshallerLoaded.
public void testProtostreamMarshallerLoaded() {
PersistenceMarshaller pm = TestingUtil.extractPersistenceMarshaller(manager(0));
testIsMarshallableAndPut(pm, new ExampleUserPojo("A Pojo!"), new AnotherExampleUserPojo("And another one!"));
DelegatingUserMarshaller userMarshaller = (DelegatingUserMarshaller) pm.getUserMarshaller();
assertTrue(userMarshaller.getDelegate() instanceof ImmutableProtoStreamMarshaller);
}
Aggregations