Пример #1
0
 public function testHasWarnings()
 {
     $this->assertFalse($this->response->hasWarnings());
     $warning = new CompilerResponseError('foo', array());
     $this->response->addWarning($warning);
     $this->assertTrue($this->response->hasWarnings());
 }