public function testGetCodeEmpty()
{
unset($_REQUEST['code']);
unset($_GET['code']);
$method = new \ReflectionMethod('Happyr\\LinkedIn\\Authenticator', 'getCode');
$method->setAccessible(true);
$auth = $this->getMock('Happyr\\LinkedIn\\Authenticator', [], [], '', false);
$this->assertNull($method->invoke($auth));
}