def METHOD_NAME(self):
    resource = Resource(
        {"service.name": "testServiceName",
         "service.namespace": "testServiceNamespace",
         "service.instance.id": "testServiceInstanceId"})
    tags = _utils._populate_part_a_fields(resource)
    self.assertIsNotNone(tags)
    self.assertEqual(tags.get("ai.cloud.role"), "testServiceNamespace.testServiceName")
    self.assertEqual(tags.get("ai.cloud.roleInstance"), "testServiceInstanceId")
    self.assertEqual(tags.get("ai.internal.nodeName"), "testServiceInstanceId")