summaryrefslogtreecommitdiffstats
path: root/tests/SMS/LoggedOutGoingSMSTest.php
blob: 67a46b2153f955f439bb36518351d87586f35c26 (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
<?php
/**
* PHP version 7.1.1
* @author Hannes Kindströmmer <hannes@kindstrommer.se>
* @copyright 2017 iP.1 Networks AB
* @license https://www.gnu.org/licenses/lgpl-3.0.txt LGPL-3.0
* @version 0.2.0-beta
* @since File available since Release 0.2.0-beta
* @link http://api.ip1sms.com/Help
* @link https://github.com/iP1SMS/ip1-php-sdk
*/
namespace IP1\RESTClient\Test\SMS;

use IP1\RESTClient\Test\Core\AbstractEnviromentProvider;
use IP1\RESTClient\Recipient\RecipientFactory;

class LoggedOutGoingSMSTest extends AbstractEnviromentProvider
{
    /**
    * @group api
    */
    public function testIsSMSListEmpty()
    {
        $sms = json_decode($this->getCommunicator()->get('api/sms/sent'));
        $this->assertEquals([], $sms);
    }
}