def METHOD_NAME(self):
    from prowler.providers.gcp.services.dns.dns_service import ManagedZone
    managed_zone = ManagedZone(
        name="test",
        id="1234567890",
        dnssec=True,
        key_specs=[
            {
                "keyType": "keySigning",
                "algorithm": "rsasha1",
                "keyLength": 2048,
                "kind": "dns#dnsKeySpec",
            },
            {
                "keyType": "zoneSigning",
                "algorithm": "rsasha256",
                "keyLength": 1024,
                "kind": "dns#dnsKeySpec",
            },
        ],
        project_id=GCP_PROJECT_ID,
    )
    dns_client = mock.MagicMock
    dns_client.project_ids = [GCP_PROJECT_ID]
    dns_client.managed_zones = [managed_zone]
    with mock.patch(
        "prowler.providers.gcp.services.dns.dns_rsasha1_in_use_to_zone_sign_in_dnssec.dns_rsasha1_in_use_to_zone_sign_in_dnssec.dns_client",
        new=dns_client,
    ):
        from prowler.providers.gcp.services.dns.dns_rsasha1_in_use_to_zone_sign_in_dnssec.dns_rsasha1_in_use_to_zone_sign_in_dnssec import (
            dns_rsasha1_in_use_to_zone_sign_in_dnssec,
        )
        check = dns_rsasha1_in_use_to_zone_sign_in_dnssec()
        result = check.execute()
        assert len(result) == 1
        assert result[0].status == "PASS"
        assert search(
            f"Cloud DNS {managed_zone.name} is not using RSASHA1 algorithm as zone signing.",
            result[0].status_extended,
        )
        assert result[0].resource_id == managed_zone.id