@Test
public void testMoveFile() {

    long reqId = 4;
    String from = "/a/need_to_be_moved";
    String to = "/a/moved_file";
    ms.putFile(from, file1);
    BinaryRawWriterEx message = createMessage(reqId, ModelStorateThinClientProcessor.PROCESSOR_ID, ModelStorateThinClientProcessor.Method.MOVE);
    message.writeString(from);
    message.writeString(to);
    ClientCustomQueryRequest req = new ClientCustomQueryRequest(toReader(message));
    ClientResponse resp = req.process(connCtx);
    assertEquals(ClientStatus.SUCCESS, resp.status());
    assertFalse(ms.exists(from));
    assertTrue(ms.exists(to));
}