public MessageGenTask(IReceiver receiver)
 {
     RandomSMS   = new RandomSMS();
     SMSProvider = new SMSProvider(receiver);
     MessageTask = new Task(GenerateMessages);
     MessageTask.Start();
 }
 public MessageGenThread(IReceiver receiver)
 {
     RandomSMS   = new RandomSMS();
     SMSProvider = new SMSProvider(receiver);
     MessageGen  = new Thread(GenerateMessages);
     MessageGen.Start();
 }