def METHOD_NAME(self, object_store: ObjectStore, remote: bool):
    if remote:
        pytest.skip('This test_get_uri does not make any remote calls.')
    uri = object_store.get_uri('tmpfile_object_name')
    if isinstance(object_store, S3ObjectStore):
        assert uri == 's3://my-bucket/folder/subfolder/tmpfile_object_name'
    elif isinstance(object_store, LibcloudObjectStore):
        assert uri == 'local://./tmpfile_object_name'
    elif isinstance(object_store, SFTPObjectStore):
        assert uri == 'sftp://test_user@localhost:23/tmpfile_object_name'
    elif isinstance(object_store, GCSObjectStore):
        assert uri == 'gs://mosaicml-composer-tests/streaming/'
    else:
        raise NotImplementedError(f'Object store {type(object_store)} not implemented.')