def METHOD_NAME() -> None:
    builder = build_graph(AwsResource)
    assert len(builder.resources_of(AwsResource)) == 0  # empty graph
    # create 2 regions
    region1 = builder.add_node(AwsRegion(id="eu-central-1", tags={}, name="eu-central-1"))
    region2 = builder.add_node(AwsRegion(id="us-east-1", tags={}, name="us-east-1"))
    # add instance types
    t1 = builder.add_node(AwsEc2InstanceType(id="t1", name="t1"))
    t2 = builder.add_node(AwsEc2InstanceType(id="t2", name="t2"))
    t1._region = region1
    t2._region = region2
    # add service quotas
    sq1 = builder.add_node(AwsServiceQuota(quota=1, id="q1"))
    sq2 = builder.add_node(AwsServiceQuota(quota=2, id="q2"))
    sq1._region = region1
    sq2._region = region2
    # connect both quotas in graph
    sq1.connect_in_graph(builder, {"matcher": evolve(RegionalQuotas["ec2"][0], region=region1)})
    sq2.connect_in_graph(builder, {"matcher": evolve(RegionalQuotas["ec2"][0], region=region2)})
    # sq1 is only connected to t1
    assert list(builder.graph.successors(sq1, EdgeType.default)) == [t1]
    # sq2 is only connected to t2
    assert list(builder.graph.successors(sq2, EdgeType.default)) == [t2]