def METHOD_NAME(self):
    p = self.load_policy({
        'name': 'test-detect-route-table-is-routing-to-correct-subnet',
        'resource': 'azure.routetable',
        'filters': [
            {
                'type': 'value',
                'key': 'name',
                'op': 'eq',
                'value': RouteTableTest.route_table_name
            },
            {
                'type': 'value',
                'key': 'properties.subnets[?ends_with(id, \'{}\')] | [0]'.format(
                    RouteTableTest._subnet_id_suffix(RouteTableTest.allowed_subnet_name)
                ),
                'value': 'not-null'
            }
        ]
    })
    resources = p.run()
    self._assert_only_route_table_in_resources(resources)