def METHOD_NAME(admin, public_project, private_project):
    assert list(
        Project.objects.visible_for(admin).filter(
            pk__in=[public_project.pk, private_project.pk]
        )
    ) == [public_project, private_project]