function it_can_check_if_message_contain_file_to_upload(File $file) { $file->isRemoteFile()->willReturn(false); $this->beConstructedWith($file); $this->hasFileToUpload()->shouldReturn(true); }