deleteLead() public method

Deletes Lead.
See also: https://developers.intercom.io/reference#delete-a-lead
public deleteLead ( string $id, array $options = [] ) : mixed
$id string
$options array
return mixed
 public function testLeadsDelete()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('delete')->willReturn('foo');
     $leads = new IntercomLeads($stub);
     $this->assertEquals('foo', $leads->deleteLead("bar"));
 }