Пример #1
0
 public function testPositiveTest()
 {
     $testCase = new Exists();
     $testCase->init('Cache');
     $response = new MockUp();
     $header = new Header(array('No-Cache' => ''));
     $response->setHeader($header);
     $this->setExpectedException('LiveTest\\TestCase\\Exception');
     $testCase->test($response, Symfony::create(new Uri('http://www.example.com/')));
 }