def METHOD_NAME(subject_factory, comment_factory, rating_factory):
    subject = subject_factory()
    for i in range(5):
        comment_factory(content_object=subject)
    comment_count = comments_models.Comment.objects.all().count()
    assert comment_count == len(subject.comments.all())
    count = Subject.objects.all().count()
    assert count == 1
    assert comment_count == 5
    subject.delete()
    count = Subject.objects.all().count()
    comment_count = comments_models.Comment.objects.all().count()
    assert count == 0
    assert comment_count == 0