@Test
public void testPutFile2() {

    long reqId = 20;
    String path = "/a/b/testPutFile2";
    boolean create = false;
    boolean append = false;
    byte[] data = new byte[] {6, 5, 4, 3, 2, 1, 0};
    BinaryRawWriterEx message = createMessage(reqId, ModelStorateThinClientProcessor.PROCESSOR_ID, ModelStorateThinClientProcessor.Method.WRITE_FILE);
    message.writeString(path);
    message.writeBoolean(create);
    message.writeBoolean(append);
    message.writeByteArray(data);
    ClientCustomQueryRequest req = new ClientCustomQueryRequest(toReader(message));
    ClientResponse resp = req.process(connCtx);
    assertEquals(ClientStatus.FAILED, resp.status()); // error
    assertFalse(resp.error().isEmpty());
}