public function testChangeRestrictions()
 {
     $list = array(23, 34, 54, 65);
     $restriction = new \Application\Model\RestrictionModel();
     $restriction->setDescription('description');
     $restriction->setName('name');
     $dataRestriction = new \Application\Model\Restriction\DataRestrictionModel();
     $dataRestriction->setHome(true);
     $dataRestriction->setRoaming(false);
     $restriction->setData($dataRestriction);
     $voice = new \Application\Model\Restriction\VoiceSmsRestrictionModel();
     $mo = new \Application\Model\Restriction\MoRestrictionModel();
     $mo->setHome(true);
     $mo->setInternational(false);
     $mo->setRoaming(false);
     $voice->setMo($mo);
     $mt = new \Application\Model\Restriction\MoRestrictionModel();
     $mt->setHome(true);
     $mt->setRoaming(false);
     $voice->setMt($mt);
     $restriction->setVoice($voice);
     $restriction->setSms($voice);
     $result = $this->simMapper->changeRestriction($list, $restriction);
     $this->assertNotNull($result);
 }