private PutRequest deserializePutRequest(ByteBuffer serialized) throws IOException {
    serialized.getLong();
    serialized.getShort();
    return PutRequest.readFrom(new DataInputStream(new ByteBufferInputStream(serialized)), mockClusterMap);
  }
Deserialize a {@link PutRequest} from the given serialized ByteBuffer.
@param serialized the serialized ByteBuffer.
@return returns the deserialized output.
ambry-router/src/test/java/com/github/ambry/router/PutManagerTest.java