public function testSmsNumbers()
 {
     $myNums = array('212630892776', '33928000000', '33000123456');
     $checker = new NumberChecker();
     $getNumber = $checker->checkSmsNumbers($myNums);
     $this->assertCount(3, explode(",", $getNumber));
     $this->assertContains('212630892776', $getNumber);
 }
 protected function send($message, $numbers, $sender = '', $myId = '', $date = '', $time = '', $life = '', $designation = 'Ma desination')
 {
     $numberChecker = new NumberChecker();
     $checkNumbers = $numberChecker->checkSmsNumbers($numbers);
     if (!$checkNumbers) {
         echo sprintf('Please verify your number(s) : %s', $numbers);
         exit;
     }
     $smsFormat = $this->container->getParameter('dot_smart_sms.format');
     $this->options = array('gsm' => $checkNumbers, 'senderid' => $sender, 'message' => $message, 'myid' => $myId, 'date' => $date, 'time' => $time, 'life' => $life, 'designation' => $designation);
     $result = $this->sendSmsSoap();
     $smsFormatter = new SmsFormatter($result, $smsFormat);
     return $smsFormatter->result;
 }