summaryrefslogtreecommitdiffstats
path: root/Twilio/Tests/HolodeckTestCase.php
blob: 20bebd5c836d18d2646f7ad2d9145582b7c030b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

namespace Twilio\Tests;

use \PHPUnit_Framework_TestCase;
use Twilio\Rest\Client;


class HolodeckTestCase extends PHPUnit_Framework_TestCase
{
    /** @var Holodeck $holodeck */
    protected $holodeck = null;
    /** @var Client $twilio */
    protected $twilio = null;

    protected function setUp() {
        $this->holodeck = new Holodeck();
        $this->twilio = new Client('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'AUTHTOKEN', null, null, $this->holodeck);
    }

    protected function tearDown() {
        $this->twilio = null;
        $this->holodeck = null;
    }

    public function assertRequest($request) {
        $this->holodeck->assertRequest($request);
        $this->assertTrue(true);
    }
}