@Override
@Test
public void testOnTransactionComplete() {

    final ClientTransaction tx = object().createTransaction();
    // make transaction ready
    object().onTransactionReady(tx, cohort);
    // state should be set to IDLE
    Assert.assertEquals(AbstractClientHistory.State.IDLE, object.state());
    // complete transaction
    object().onTransactionComplete(tx.getIdentifier());
    // state is still IDLE
    Assert.assertEquals(AbstractClientHistory.State.IDLE, object.state());
}