def METHOD_NAME(self):
    # Register template under one domain admin(root/domain1->account 1)
    template_register = Template.register(
        self.apiclient,
        self.testdata["privatetemplate"],
        zoneid=self.zone.id,
        hypervisor=self.hypervisor,
        account=self.account1.name,
        domainid=self.domain1.id)
    template_register.download(self.apiclient)
    self.download(self.apiclient, template_register.id)
    listtemplate = Template.list(
        self.apiclient,
        zoneid=self.zone.id,
        hypervisor=self.hypervisor,
        account=self.account2.name,
        domainid=self.account2.domainid,
        templatefilter="executable")
    self.assertEqual(
        listtemplate,
        None,
        "Check templates are not listed - CLOUDSTACK-10149"
    )
    return