public function testRunWithInvalidPath()
{
$command = new Test(array('request' => $this->request, 'classes' => $this->classes));
$path = 'Foobar/lithium/tests/mocks/test/cases/MockTest.php';
$command->run($path);
$expected = "Path `.*` not found.\n";
$result = $command->response->error;
$this->assertPattern("/{$expected}/", $result);
}