def METHOD_NAME(self):
    """Test the importmap parameter"""
    fn = env.input_path("import_test_1.yaml")
    importmap = {
        "http://example.org/import_test_2": "import_test_2",
        "loc/imp3": "import_test_3",
        "base:import_test_4": "http://example.org/import_test_4",
        "http://example.org/import_test_4": "import_test_4",
        "types": "http://w3id.org/linkml/types",
    }
    self.env.generate_single_file(
        "import_test_1.json",
        lambda: as_json(SchemaLoader(fn, importmap=importmap).resolve()),
        filtr=json_metadata_filter,
    )