def METHOD_NAME(self):
    assert (
        _get_privacy_declaration_legal_basis_for_processing(
            data_use_legal_basis="Vital Interest",
            legitimate_interest_impact_assessment=None,
        )
        == "Vital interests"
    )
    assert (
        _get_privacy_declaration_legal_basis_for_processing(
            data_use_legal_basis="Vital Interest",
            legitimate_interest_impact_assessment="www.example.com/legitimate_interest_impact_assessments",
        )
        == "Legitimate interests"
    )
    assert (
        _get_privacy_declaration_legal_basis_for_processing(
            data_use_legal_basis=None,
            legitimate_interest_impact_assessment="www.example.com/legitimate_interest_impact_assessments",
        )
        == "Legitimate interests"
    )
    assert (
        _get_privacy_declaration_legal_basis_for_processing(
            data_use_legal_basis=None, legitimate_interest_impact_assessment=""
        )
        is None
    )