def METHOD_NAME(event, mocker):
    class MockingStep(checkoutflow.BaseCheckoutFlowStep):
        identifier = 'mocking'
        priority = 1001
    with pytest.raises(ValueError):
        with_mocked_step(mocker, MockingStep, event)