/**
  * @test
  */
 public function shouldRetrieveAccessToken()
 {
     $credentials = new Credentials("id", "secret", "username", "password");
     $this->genericClient->shouldReceive("post")->once()->andReturn(json_encode(array("access_token" => "foo", "instance_url" => "https://", "id" => "https://foo/some-id", "token_type" => "bar", "issued_at" => "1457566074818", "signature" => "foobar")));
     $this->authClient->getToken($credentials);
 }