function it_can_get_the_file_stream(File $file) { $file->getStream()->willReturn('stream'); $this->beConstructedWith($file); $this->getFileStream()->shouldReturn('stream'); }
public function __construct($filePath) { parent::__construct($filePath, Attachment::TYPE_IMAGE); }