def METHOD_NAME(self, routes, authorizers, default_authorizer, expected_routes):
    self.api_collector._route_per_resource[self.apigw_id] = routes
    self.api_collector._authorizers_per_resources[self.apigw_id] = authorizers
    self.api_collector._default_authorizer_per_resource[self.apigw_id] = default_authorizer
    self.api_collector._link_authorizers()
    self.assertEqual(self.api_collector._route_per_resource, {self.apigw_id: expected_routes})