def METHOD_NAME(self):
    # Simulate an upload, then resetting the value from the
    # kernel.
    uploader = FileUpload()
    message = {'value': [FILE_UPLOAD_FRONTEND_CONTENT]}
    uploader.set_state(message)
    uploader.value = []  # reset value to an empty file list
    assert uploader.get_state(key='value') == {'value': []}