def METHOD_NAME(self):
    relative_file_path = "./checks/resource/aws/example_APIGatewayXray/APIGatewayXray-PASSED.yaml"
    definitions = {}
    file = os.path.realpath(os.path.join(TEST_DIRNAME, relative_file_path))
    (definitions[relative_file_path], definitions_raw) = parse(file)
    graph_manager = CloudformationGraphManager(db_connector=NetworkxConnector())
    local_graph = graph_manager.build_graph_from_definitions(definitions)
    self.assertEqual(1, len(local_graph.vertices))
    resource_vertex = local_graph.vertices[0]
    self.assertEqual("AWS::ApiGateway::Stage.Enabled", resource_vertex.name)
    self.assertEqual("AWS::ApiGateway::Stage.Enabled", resource_vertex.id)
    self.assertEqual(BlockType.RESOURCE, resource_vertex.block_type)
    self.assertEqual("CloudFormation", resource_vertex.source)
    self.assertDictEqual(definitions[relative_file_path]["Resources"]["Enabled"]["Properties"], resource_vertex.attributes)