def METHOD_NAME(self):
    resource = AzureAppServiceResourceDetector().detect()
    attributes = resource.attributes
    self.assertEqual(attributes["service.name"], TEST_WEBSITE_SITE_NAME)
    self.assertEqual(attributes["cloud.provider"], "azure")
    self.assertEqual(attributes["cloud.platform"], "azure_app_service")
    self.assertTrue("cloud.resource_id" not in attributes)
    self.assertEqual(attributes["cloud.region"], TEST_REGION_NAME)
    self.assertEqual(attributes["deployment.environment"], TEST_WEBSITE_SLOT_NAME)
    self.assertEqual(attributes["host.id"], TEST_WEBSITE_HOSTNAME)
    self.assertEqual(attributes["service.instance.id"], TEST_WEBSITE_INSTANCE_ID)
    self.assertEqual(attributes["azure.app.service.stamp"], TEST_WEBSITE_HOME_STAMPNAME)