@Override
  public boolean toData(Object o, DataOutput out) throws IOException {
    out.write(5);
    return false;
  }
Register two DataSerializers on the server and verify that they get propagated to client.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DataSerializerPropagationDUnitTest.java