예제 #1
0
 public function testUpdateConsumptionControlByList()
 {
     $list = array('23', '34', '54', '65');
     $limits = new \Application\Model\Sim\ConsumptionControlLimitModel();
     $limits->setDataDaily(new \Application\Model\Control\LimitModel(array('enabled' => true, 'value' => 22)));
     $result = $this->simMapper->updateConsumptionControl($limits, $list);
     $this->assertNotNull($result);
 }