public function testGetClass()
 {
     $this->assertEquals(static::USER_CLASS, $this->userManager->getClass());
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function supportsClass($class)
 {
     $userClass = $this->userManager->getClass();
     return $userClass === $class || is_subclass_of($class, $userClass);
 }