def METHOD_NAME(mocked_invalidate, fill_id):
    context, config = make_context()
    request = make_request(valid_until=int(time.time() * 2))
    request.fill(config.account.address, b"", FILL_ID, TIMESTAMP)
    context.requests.add(request.id, request)
    claim_event = make_claim_unchallenged(
        request=request,
        claimer=config.account.address,
        fill_id=fill_id,
    ).latest_claim_made
    process_event(claim_event, context)
    claim = context.claims.get(claim_event.claim_id)
    assert claim is not None
    assert claim.started.is_active
    process_claims(context)
    assert claim.claimer_winning.is_active
    # invalidate must only be called if the fill ids do not match
    assert mocked_invalidate.called == (fill_id != FILL_ID)