### Question:
ProtoUtils { public static byte[] buildErrorReplyBytes(String message) { return ("ERR " + message).getBytes(); }  static byte[] convertIntToByteArray(int value); static byte[] buildErrorReplyBytes(String message); static int readInt(ByteBuf buffer); static final byte[] OK; static final byte[] PONG; static final byte[] ERR_NO_AUTH; static final byte[] ERR_NO_AUTH_PASSWORD; static final byte[] ERR_NO_AUTH_NO_PASSWORD; static final byte[] ERR_PIPELINE_BACKEND; static final byte[] ERR_INVALID_COMMAND; static final byte[] ERROR_ERR_BULK; static final byte[] WRONGTYPE_ERR_BULK; static final byte[] NOIMPLEMENT_ERR_BULK; }### Answer:
@Test public void buildErrorReplyBytes() { byte[] errorReply= ProtoUtils.buildErrorReplyBytes("closed by upstream"); assertNotNull(errorReply); assertEquals("ERR closed by upstream",new String(errorReply)); }