/**
  * @covers Veles\Auth\Strategies\AbstractAuthStrategy::setError
  */
 public function testSetError()
 {
     $expected = 8;
     $this->object->setError(GuestStrategy::ERR_NOT_VALID_LOGIN);
     $msg = 'AbstractAuthStrategy::setErrors() wrong behavior!';
     $this->assertAttributeSame($expected, 'errors', $this->object, $msg);
     $expected = 40;
     $this->object->setError(GuestStrategy::ERR_NOT_VALID_HASH);
     $msg = 'AbstractAuthStrategy::setErrors() wrong behavior!';
     $this->assertAttributeSame($expected, 'errors', $this->object, $msg);
 }