/** * Checks that an exception is thrown if the path does not exist. */ public function testCopyNotExist() { $this->setExpectedException('Phine\\Path\\Exception\\PathException', 'The path "/does/not/exist" does not exist.'); Path::copy('/does/not/exist', '/should/not/be/copied'); }