def METHOD_NAME(self, mocker: MockerFixture, tmp_path: Path) -> None:
    """Test md5_hash."""
    file_hash = Mock(hexdigest="success")
    mock_file_hash_class = mocker.patch(
        f"{MODULE}.FileHash", return_value=file_hash
    )
    mock_md5 = mocker.patch("hashlib.md5")
    src_path = tmp_path / "src"
    src_path.mkdir()
    test_file = src_path / "test.txt"
    assert (
        SourceCode(
            src_path,
            gitignore_filter=Mock(),
            include_files_in_hash=[test_file],
            project_root=tmp_path,
        ).md5_hash
        == file_hash.hexdigest
    )
    mock_file_hash_class.assert_called_once_with(mock_md5.return_value)
    file_hash.add_files.assert_called_once_with([test_file], relative_to=tmp_path)