@Test
public void testRepeatedMkDir2() {

    long reqId = 15;
    String path = "/mk/dirs/test";
    ms.mkdirs(path);
    BinaryRawWriterEx message = createMessage(reqId, ModelStorateThinClientProcessor.PROCESSOR_ID, ModelStorateThinClientProcessor.Method.MKDIR);
    message.writeString(path);
    message.writeBoolean(false); // only if not exists
    ClientCustomQueryRequest req = new ClientCustomQueryRequest(toReader(message));
    ClientResponse resp = req.process(connCtx);
    BinaryRawWriterEx out = createWriter();
    resp.encode(connCtx, out);
    byte[] result = out.out().arrayCopy();
    assertArrayEquals(getExpectedMessageHeader(reqId).out().arrayCopy(), result);
}