def METHOD_NAME(workflow_execution: DesignExecution, session, example_candidates):
    # Given
    session.set_response(example_candidates)
    # When
    list(workflow_execution.candidates(per_page=4))
    # Then
    expected_path = '/projects/{}/design-workflows/{}/executions/{}/candidates'.format(
        workflow_execution.project_id,
        workflow_execution.workflow_id,
        workflow_execution.uid,
    )
    assert session.last_call == FakeCall(method='GET', path=expected_path, params={"per_page": 4, 'page': 1})