@@ -0,0 +1,1937 @@
+package com.orientechnologies.orient.distributed.impl.coordinator.network;%0A%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.ONodeResponse;%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.OSubmitResponse;%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.ddl.ODDLQueryOperationRequest;%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.ddl.ODDLQueryOperationResponse;%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.ddl.ODDLQuerySubmitResponse;%0Aimport com.orientechnologies.orient.distributed.impl.coordinator.transaction.OSessionOperationId;%0Aimport com.orientechnologies.orient.distributed.impl.log.OLogId;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.io.*;%0A%0Apublic class OOperationResponseTest %7B%0A%0A  @Test%0A  public void testSerialize() throws IOException %7B%0A%0A    String db = %22testDb%22;%0A    OLogId oplogId = new OLogId(10, 20, 19);%0A    ODDLQueryOperationResponse res = new ODDLQueryOperationResponse();%0A    OOperationResponse response = new OOperationResponse(db, oplogId, res);%0A%0A%0A    ByteArrayOutputStream baos = new ByteArrayOutputStream();%0A    DataOutputStream out = new DataOutputStream(baos);%0A    response.write(out);%0A    byte%5B%5D serialized = baos.toByteArray();%0A    out.close();%0A    baos.close();%0A    ByteArrayInputStream bais = new ByteArrayInputStream(serialized);%0A    DataInputStream in = new DataInputStream(bais);%0A%0A    OOperationResponse response2 = new OOperationResponse();%0A    response2.read(in);%0A    in.close();%0A    bais.close();%0A%0A%0A    Assert.assertEquals(response.getCommand(), response2.getCommand());%0A    Assert.assertEquals(response.getDatabase(), response2.getDatabase());%0A    Assert.assertEquals(response.getId(), response2.getId());%0A    ONodeResponse res2 = response2.getResponse();%0A    Assert.assertEquals(res.getResponseType(), res2.getResponseType());%0A    Assert.assertEquals(res.getClass(), res2.getClass());%0A%0A  %7D%0A%7D%0A%0A%0A

Add serialization tests for OOperationResponse