/**
* @expectedException \Happyr\LinkedIn\Exception\LinkedInTransferException
*/
public function testConvertToSimpleXmlError()
{
$body = '{Foo: bar}';
$response = new Response(200, [], $body);
$result = ResponseConverter::convertToSimpleXml($response);
$this->assertInstanceOf('\\SimpleXMLElement', $result);
$this->assertEquals('foo', $result->firstname);
}