public function testLoadUserByOAuthUserResponse()
 {
     $responseMock = $this->getMockBuilder('HWI\\Bundle\\OAuthBundle\\OAuth\\Response\\UserResponseInterface')->getMock();
     $responseMock->expects($this->once())->method('getNickname')->will($this->returnValue('asm89'));
     $user = $this->provider->loadUserByOAuthUserResponse($responseMock);
     $this->assertInstanceOf('\\HWI\\Bundle\\OAuthBundle\\Security\\Core\\User\\OAuthUser', $user);
     $this->assertEquals('asm89', $user->getUsername());
 }