@Test
public void testInvalidPath() throws Exception {

    pLatch = new CountDownLatch(1);
    processor = new PrepRequestProcessor(zks, new MyRequestProcessor());
    SetDataRequest record = new SetDataRequest("", new byte[0], -1);
    Request req = createRequest(record, OpCode.setData);
    processor.pRequest(req);
    pLatch.await();
    Assert.assertEquals(outcome.getHdr().getType(), OpCode.error);
    Assert.assertEquals(outcome.getException().code(), KeeperException.Code.BADARGUMENTS);
}