def METHOD_NAME(self):
    doc = Document.objects.create(
        title="test",
        content="test",
        filename="test.pdf",
        checksum="abc",
    )
    Path(doc.source_path).touch()
    Path(doc.thumbnail_path).touch()
    with self.assertLogs() as capture:
        call_command("document_sanity_checker")
    self.assertEqual(len(capture.output), 2)
    self.assertIn("Checksum mismatch. Stored: abc, actual:", capture.output[1])