Skip to content

Commit

Permalink
Add test for constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
romanmatyus committed Oct 5, 2018
1 parent 0f6a403 commit a4d0311
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/RM/SMSender/EuroSms/Sender.config().phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ use Tester\Assert;

require __DIR__ . '/../../../bootstrap.php';

Assert::true(new RM\SMSender\EuroSms\Sender([
'id' => '1-TB672G',
'key' => '5^Af-8Ss',
]) instanceof RM\SMSender\EuroSms\Sender);

$sender = new RM\SMSender\EuroSms\Sender;

Assert::true($sender->config([
Expand Down

0 comments on commit a4d0311

Please sign in to comment.