@Test
public void testMoveWithExistedName() {

    long reqId = 7;
    String from = "/a/b/testMoveWithExistedName";
    ms.putFile(from, file1);
    String to = pathToFile1;
    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.FAILED, resp.status()); // error
    assertFalse(resp.error().isEmpty());
}