convertLead() public method

Converts Lead.
See also: https://developers.intercom.io/reference#convert-a-lead
public convertLead ( $options ) : mixed
$options
return mixed
 public function testLeadsConvert()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('post')->will($this->returnArgument(0));
     $leads = new IntercomLeads($stub);
     $this->assertEquals('contacts/convert', $leads->convertLead([]));
 }