function testClearingError()
 {
     $error = new SimpleStickyError();
     $error->setError('Ouch');
     $this->assertTrue($error->isError());
     $error->clearError();
     $this->assertFalse($error->isError());
 }