public function testHasErrors()
 {
     $this->assertFalse($this->response->hasErrors());
     $error = new CompilerResponseError('foo', array());
     $this->response->addError($error);
     $this->assertTrue($this->response->hasErrors());
 }