public function events($options)
{
return $this->client->post("bulk/events", $options);
}
public function testBulkEvents() { $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock(); $stub->method('post')->will($this->returnArgument(0)); $bulk = new IntercomBulk($stub); $this->assertEquals('bulk/events', $bulk->events([])); }