@Test
public void testCanCommitYesWithOneCohort() throws Exception {

    ThreePhaseCommitCohortProxy proxy = new ThreePhaseCommitCohortProxy(actorUtils, Arrays.asList(
            newCohortInfo(new CohortActor.Builder(tx).expectCanCommit(
                    CanCommitTransactionReply.yes(CURRENT_VERSION)))), tx);
    verifyCanCommit(proxy.canCommit(), true);
    verifyCohortActors();
}