def METHOD_NAME(self, base_dir):
    gpkg_file = base_dir.join("cache.gpkg").strpath
    organization_coordsys_id = 3785
    table_name = "no_gpkg_spatial_ref_sys"
    with sqlite3.connect(gpkg_file) as db:
        cur = db.execute(
            """SELECT organization_coordsys_id FROM gpkg_spatial_ref_sys WHERE organization_coordsys_id=?""",
            (organization_coordsys_id,),
        )
        content = cur.fetchone()
        assert not content
    GeopackageCache(gpkg_file, TileGrid(srs=3785), table_name=table_name)
    with sqlite3.connect(gpkg_file) as db:
        cur = db.execute(
            """SELECT organization_coordsys_id FROM gpkg_spatial_ref_sys WHERE organization_coordsys_id=?""",
            (organization_coordsys_id,),
        )
        content = cur.fetchone()
        assert content[0] == organization_coordsys_id