def METHOD_NAME(self, filepath, instance_type):
    data_set = JSONDataSet(filepath=filepath)
    assert isinstance(data_set._fs, instance_type)
    path = filepath.split(PROTOCOL_DELIMITER, 1)[-1]
    assert str(data_set._filepath) == path
    assert isinstance(data_set._filepath, PurePosixPath)