def METHOD_NAME(self, load_version, save_version):
    """Test that version is in string representation of the class instance
    when applicable."""
    filepath = "test.gml"
    ds = GMLDataSet(filepath=filepath)
    ds_versioned = GMLDataSet(
        filepath=filepath, version=Version(load_version, save_version)
    )
    assert filepath in str(ds)
    assert "version" not in str(ds)
    assert filepath in str(ds_versioned)
    ver_str = f"version=Version(load={load_version}, save='{save_version}')"
    assert ver_str in str(ds_versioned)
    assert "GMLDataSet" in str(ds_versioned)
    assert "GMLDataSet" in str(ds)
    assert "protocol" in str(ds_versioned)
    assert "protocol" in str(ds)