public function it_should_fail_if_target_file_not_is_image() { $this->setURL($this->getTestURL())->shouldThrow(new \Exception('targetfile extension not valid'))->during('save', [$this->getTestPath() . 'txt']); }