/**
  * @covers Veles\Auth\Strategies\AbstractAuthStrategy::getUser
  * @covers Veles\Auth\Strategies\AbstractAuthStrategy::__construct
  */
 public function testGetUser()
 {
     $expected = '\\Veles\\Model\\User';
     $actual = $this->object->getUser();
     $msg = 'AbstractAuthStrategy::getUser() returns wrong result!';
     $this->assertInstanceOf($expected, $actual, $msg);
 }
 /**
  * @covers Veles\Auth\Strategies\GuestStrategy::identify
  */
 public function testIdentify()
 {
     $expected = false;
     $result = $this->object->identify();
     $msg = 'GuestStrategy::identify() returns wrong result!';
     $this->assertSame($expected, $result, $msg);
     $expected = ['group' => UsrGroup::GUEST];
     $result = ['group' => ''];
     $this->object->getUser()->getProperties($result);
     $msg = 'Wrong GuestStrategy::identify() behavior!';
     $this->assertSame($expected, $result, $msg);
 }