Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class SendMessageTest extends TestCase |
||
10 | { |
||
11 | /** |
||
12 | * @var MockApi |
||
13 | */ |
||
14 | private $apiConn; |
||
15 | |||
16 | /** |
||
17 | * Prepares the environment before running a test. |
||
18 | */ |
||
19 | protected function setUp() |
||
20 | { |
||
21 | parent::setUp(); |
||
22 | $this->apiConn = new MockApi(); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Cleans up the environment after running a test. |
||
27 | */ |
||
28 | protected function tearDown() |
||
29 | { |
||
30 | $this->apiConn = null; |
||
31 | parent::tearDown(); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @expectedException \leocata\M1\Exceptions\MissingMandatoryField |
||
36 | * @expectedExceptionMessage sessionid |
||
37 | */ |
||
38 | public function testMissingMandatoryExportField() |
||
42 | } |
||
43 | } |
||
44 |