/** * Pretend client did some insert at the given op versions. We don't need a version * number as it's inferred in client CC. * * @throws OperationException * @throws TransformException */ public TestConfig clientDoInsert(int insertionPoint, String content, boolean flush) throws OperationException, TransformException { clientMock.doInsert(insertionPoint, content); if (flush) { clientMock.flush(); } return this; }
/** * Pretend client did some insert at the given op versions. We don't need a version * number as it's inferred in client CC. * * @throws OperationException * @throws TransformException */ public TestConfig clientDoInsert(int clientNumber, int insertionPoint, String content) throws OperationException, TransformException { ClientMock clientMock = clientMocks.get(clientNumber); clientMock.doInsert(insertionPoint, content); clientMock.flush(); return this; }
/** * Pretend client did some insert at the given op versions. We don't need a version * number as it's inferred in client CC. * * @throws OperationException * @throws TransformException */ public TestConfig clientDoInsert(int clientNumber, int insertionPoint, String content) throws OperationException, TransformException { ClientMock clientMock = clientMocks.get(clientNumber); clientMock.doInsert(insertionPoint, content); clientMock.flush(); return this; }
/** * Pretend client did some insert at the given op versions. We don't need a version * number as it's inferred in client CC. * * @throws OperationException * @throws TransformException */ public TestConfig clientDoInsert(int insertionPoint, String content, boolean flush) throws OperationException, TransformException { clientMock.doInsert(insertionPoint, content); if (flush) { clientMock.flush(); } return this; }