Example #1
0
 public function testGetNoExist()
 {
     $this->setExpectedException('InvalidArgumentException', 'No such key: foo');
     $this->_sut->get('foo');
 }
 private function _buildLicense(array $incoming)
 {
     $map = new tubepress_internal_collection_Map();
     foreach ($incoming as $key => $value) {
         $map->put($key, $value);
     }
     return $map;
 }