public function valueProvider() { $fh = fopen('php://temp', 'r+'); fwrite($fh, $this->value); rewind($fh); return [[$this->value], [$fh], [Psr7\stream_for($this->value)]]; }