@Test
public void testOnTransactionReadyAndCompleteStateClosed() {

    object().updateState(AbstractClientHistory.State.IDLE, AbstractClientHistory.State.CLOSED);
    final AbstractTransactionCommitCohort transactionCommitCohort =
            object().onTransactionReady(transaction, cohort);
    Assert.assertEquals(cohort, transactionCommitCohort);
}