Load the appropriate return value.
$op: One of the hook_file_[validate,download] operations.
Value set by file_test_set_return().
function _file_test_get_return($op) {
$return = Drupal::state()
->get('file_test.return') ?: array(
$op => NULL,
);
return $return[$op];
}