/**
  * @dataProvider supportsDataProvider
  *
  * @param mixed $user
  * @param bool $expectedResult
  */
 public function testSupports($user, $expectedResult)
 {
     $this->securityFacade->expects($this->once())->method('getLoggedUser')->willReturn($user);
     $this->assertEquals($expectedResult, $this->provider->supports());
 }