@@ 29-36 (lines=8) @@ | ||
26 | /** |
|
27 | * @test |
|
28 | */ |
|
29 | public function testCreateInstance() |
|
30 | { |
|
31 | $twilio = new TwilioWrapper('AAAA', 'XXXX'); |
|
32 | //create other instance |
|
33 | $otherInstance = $twilio->createInstance('BBBB', 'CCCCC'); |
|
34 | //check class |
|
35 | $this->assertInstanceOf('\Services_Twilio', $otherInstance); |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * @test |
|
@@ 51-58 (lines=8) @@ | ||
48 | /** |
|
49 | * @test |
|
50 | */ |
|
51 | public function testCapabilityCreateInstance() |
|
52 | { |
|
53 | $twilio = new TwilioCapabilityWrapper('AAAA', 'XXXX'); |
|
54 | //create other instance |
|
55 | $otherInstance = $twilio->createInstance('BBBB', 'CCCCC'); |
|
56 | //check class |
|
57 | $this->assertInstanceOf('\Services_Twilio_Capability', $otherInstance); |
|
58 | } |
|
59 | ||
60 | /** |
|
61 | * @test |