def METHOD_NAME(auth_client, filter, expected_result):
    user = auth_client.user
    setup_customer_and_employment_status(
        user=user,
        is_assignee=True,
        is_customer=True,
        is_employed=True,
        is_external=False,
    )
    cost_center = CostCenterFactory()
    task_z = TaskFactory.create(name="Z", cost_center=cost_center)
    task_test = TaskFactory.create(name="Test")
    reviewer = TaskAssigneeFactory(user=UserFactory(), task=task_test, is_reviewer=True)
    ReportFactory.create(duration=timedelta(hours=1), date="2022-08-05", task=task_test)
    ReportFactory.create(duration=timedelta(hours=2), date="2022-08-30", task=task_test)
    ReportFactory.create(duration=timedelta(hours=3), date="2022-09-01", task=task_z)
    filter_values = {
        "from_date": "2022-08-20",  # last two reports
        "customer": str(task_test.project.customer.pk),  # first two
        "cost_center": str(cost_center.pk),  # last one
        "reviewer": str(reviewer.user.pk),  # first two
    }
    the_filter = {filter: filter_values[filter]}
    url = reverse("project-statistic-list")
    result = auth_client.get(
        url,
        data={"ordering": "name", "include": "customer", **the_filter},
    )
    assert result.status_code == status.HTTP_200_OK
    json = result.json()
    assert json["meta"]["total-time"] == f"{expected_result:02}:00:00"