def METHOD_NAME(tmp_path, basic_config_dict, basic_routes):
    config = tmp_path / "config.yaml"
    save_yaml(config, basic_config_dict)
    with Gateway(config) as gateway:
        response = gateway.get(BASE_ROUTE)
        assert response.json()["routes"] == basic_routes
        for route in ["docs", "redoc"]:
            response = gateway.get(route)
            assert response.status_code == 200
        for index, route in enumerate(basic_config_dict["routes"]):
            response = gateway.get(f"{BASE_ROUTE}{route['name']}")
            assert response.json() == basic_routes[index]