def METHOD_NAME(event_manager):
    with Transaction(event_manager) as tx:
        tx.rollback()
    assert len(begins) == 1, "Incorrect number of TransactionBegin events"
    assert not commits, "Incorrect number of TransactionCommit events"
    assert len(rollbacks) == 1, "Incorrect number of TransactionRollback events"