def METHOD_NAME(self):
    resource_refs = SupportedResourceReferences()
    resource_refs.add("logicalId1", "property1", "value1")
    resource_refs.add("logicalId1", "property2", "value2")
    self.assertEqual(1, len(resource_refs))  # Each unique logicalId adds one to the len