def METHOD_NAME(repository, generate_directory):
    """Test the ``Repository.put_object_from_filelike`` method."""
    directory = generate_directory({'file_a': None})
    with open(directory / 'file_a', 'rb') as handle:
        key = repository.put_object_from_filelike(handle)
    assert isinstance(key, str)