function it_can_get_the_file_stream(File $file) { $file->getStream()->willReturn('stream'); $this->beConstructedWith($file); $this->getFileStream()->shouldReturn('stream'); }