/**
* @test
* @dataProvider dataProvider_getToken
*/
public function getUser_objectInitialized_returnValid($userObject, $expectedReturnValue)
{
//Mock the TokenInterface
$this->token->expects($this->once())->method('getUser')->will($this->returnValue($userObject));
$returnValue = $this->authContext->getUser();
$this->assertEquals($expectedReturnValue, $returnValue);
}