@Override public Object createExternal(Class<?> subjectType, ObjectInput input) throws IOException, ClassNotFoundException { return new PojoWithJBossExternalize(PojoWithAttributes.readObject(input)); } }
@Test(dependsOnMethods = "testReplicateJBossExternalizePojo") public void testReplicateJBossExternalizePojoToNewJoiningNode(Method m) { PojoWithJBossExternalize pojo = new PojoWithJBossExternalize(48, k(m)); doReplicatePojoToNewJoiningNode(m, pojo); }
public void testIsMarshallableJBossExternalizeAnnotation() throws Exception { PojoWithJBossExternalize pojo = new PojoWithJBossExternalize(34, "k2"); assertTrue(marshaller.isMarshallable(pojo)); }
public void testPojoWithJBossMarshallingExternalizer(Method m) throws Exception { PojoWithJBossExternalize pojo = new PojoWithJBossExternalize(27, k(m)); marshallAndAssertEquality(pojo); }
public void testReplicateJBossExternalizePojo(Method m) { PojoWithJBossExternalize pojo = new PojoWithJBossExternalize(34, k(m)); doReplicatePojo(m, pojo); }