If I do

    return json_decode($this->service->request(self::REQUEST_EMAIL, 'GET', array(), array('Accept' => 'application/vnd.github.v3')), true);
   
I'm getting 
> PHPUnit_Framework_ExpectationFailedException : Expectation failed for method name is equal to <string:request> when invoked zero or more times
Parameter 2 for invocation OAuth\OAuth2\Service\AbstractService::request('/user/emails', 'GET', Array (), Array (...)) does not match expected value.
Array () does not match expected type "NULL"