We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd39642 commit dfc1381Copy full SHA for dfc1381
test/IntercomSegmentsTest.php
@@ -0,0 +1,15 @@
1
+<?php
2
+
3
+use Intercom\IntercomSegments;
4
5
+class IntercomSegmentTest extends PHPUnit_Framework_TestCase {
6
7
+ public function testSegmentList()
8
+ {
9
+ $stub = $this->getMockBuilder('Intercom\IntercomClient')->disableOriginalConstructor()->getMock();
10
+ $stub->method('get')->willReturn('foo');
11
12
+ $segments = new IntercomSegments($stub);
13
+ $this->assertEquals('foo', $segments->getSegments());
14
+ }
15
+}
0 commit comments