| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SendMessageTest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var MockApi |
||
| 14 | */ |
||
| 15 | private $apiConn; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Prepares the environment before running a test. |
||
| 19 | */ |
||
| 20 | protected function setUp() |
||
| 21 | { |
||
| 22 | parent::setUp(); |
||
| 23 | $this->apiConn = new MockApi(new HttpClientAuthorization('', '')); |
||
| 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 | * @expectedException \leocata\M1\Exceptions\MissingMandatoryField |
||
| 35 | * @expectedExceptionMessage sessionid |
||
| 36 | */ |
||
| 37 | |||
| 38 | public function testMissingMandatoryExportField() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |