def METHOD_NAME(
    self,
    mock_generate_skill_score_mapping,
    mock_get_job_holder_usernames,
    mock_get_top_skill_categories_for_job
):
    """
    Test that average value is None when users are less than 5.
    """
    mock_get_top_skill_categories_for_job.return_value = DUMMY_CATEGORIES_RESPONSE
    mock_get_job_holder_usernames.return_value = {"usernames": ['user1', 'user2']}
    mock_generate_skill_score_mapping.return_value = {'Technology Roadmap': 2, 'Python': 3}
    self.client.login(username=self.user.username, password=TEST_PASSWORD)
    response = self.client.get(self.url)
    assert response.status_code == 200
    # check if the response is mutated and scores are appended for skills
    # for when some skills are learned by user in a category, check if user_score and avg score is appended
    assert response.data['skill_categories'][0]['user_score'] == 0.8
    assert response.data['skill_categories'][0]['edx_average_score'] is None
    # for when no skill is learned by user in a category, check if user_score and avg score is appended
    assert response.data['skill_categories'][1]['user_score'] == 0.0
    assert response.data['skill_categories'][1]['edx_average_score'] is None