public function testIsError()
 {
     $this->object->exchangeArray(array('type' => 'validation-error'));
     $this->assertTrue($this->object->isError());
     $this->object->exchangeArray(array('type' => 'error'));
     $this->assertTrue($this->object->isError());
     $this->object->exchangeArray(array('type' => 'async-response', 'status' => 'error'));
     $this->assertTrue($this->object->isError());
     $this->object->exchangeArray(array('type' => 'async-response', 'status' => 'approved'));
     $this->assertFalse($this->object->isError());
 }