@Test(expected = IllegalArgumentException.class)
public void testCanCommitWithInvalidResponseType() throws Exception {

    ThreePhaseCommitCohortProxy proxy = new ThreePhaseCommitCohortProxy(actorUtils, Arrays.asList(
            newCohortInfo(new CohortActor.Builder(tx).expectCanCommit("invalid"))), tx);
    propagateExecutionExceptionCause(proxy.canCommit());
}