@Test
public void testDelete() {

    dataStoreContextBuilder.shardBatchedModificationCount(1);
    ActorRef actorRef = setupActorContextWithInitialCreateTransaction(getSystem(), WRITE_ONLY);
    expectBatchedModifications(actorRef, 1);
    TransactionProxy transactionProxy = new TransactionProxy(mockComponentFactory, WRITE_ONLY);
    transactionProxy.delete(TestModel.TEST_PATH);
    verifyOneBatchedModification(actorRef, new DeleteModification(TestModel.TEST_PATH), false);
}