def METHOD_NAME(mocked_withdraw, test_data):
    context, _ = make_context()
    request = make_request()
    context.requests.add(request.id, request)
    claimer = test_data[0]
    challenger = test_data[1]
    should_withdraw = test_data[2]
    claim = make_claim_challenged(
        request=request,
        claimer=claimer,
        challenger=challenger,
        # Claim should not be withdrawable yet
        termination=Termination(TIMESTAMP + 1),
    )
    context.claims.add(claim.id, claim)
    claim.start_challenge(make_tx_hash(), TIMESTAMP)
    claim.l1_invalidate()
    assert claim.invalidated_l1_resolved.is_active
    assert not mocked_withdraw.called
    process_claims(context)
    assert should_withdraw == mocked_withdraw.called