@Test
public void testAbortWithFailedCohortFuture() throws Exception {

    List<CohortInfo> cohorts = Arrays.asList(
            newCohortInfoWithFailedFuture(new TestException()), newCohortInfo(new CohortActor.Builder(tx)));
    ThreePhaseCommitCohortProxy proxy = new ThreePhaseCommitCohortProxy(actorUtils, cohorts, tx);
    verifySuccessfulFuture(proxy.abort());
    verifyCohortActors();
}