Пример #1
0
 function it_returns_constructed_arguments_with_generated_checksum_for_export()
 {
     $file = $this->vfs->getChild('dummy_file1.txt')->url();
     $this->fileChecksum->calculate($file)->willReturn('our_calculated_checksum');
     $this->export()->shouldReturn(['parser' => $this->parser->getWrappedObject(), 'file' => $file, 'checksum' => 'our_calculated_checksum']);
 }
Пример #2
0
 function it_returns_constructed_arguments_with_generated_checksum_for_export()
 {
     $this->export()->shouldReturn(['parser' => $this->parser->getWrappedObject(), 'string' => 'some_string_dummy', 'id' => 'inline_string_643ddfad51ea84f3f18471b47d263d7b']);
 }