/** * @covers WindowsAzure\Table\TableRestProxy::insertEntity * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testInsertEntityInt() { foreach (TableServiceFunctionalTestData::getInterestingGoodInts() as $o) { $ent = new Entity(); $ent->setPartitionKey(TableServiceFunctionalTestData::getNewKey()); $ent->setRowKey(TableServiceFunctionalTestData::getNewKey()); $ent->addProperty('INT32', EdmType::INT32, $o); $this->insertEntityWorker($ent, true, null, $o); } }
/** * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testQueryEntitiesIntLevel1() { // The emulator has problems with non-standard queries tested here. $this->skipIfEmulated(); $interestingqueryEntitiesOptions = self::addBinaryFilter('INT32', EdmType::INT32, TableServiceFunctionalTestData::getInterestingGoodInts()); foreach ($interestingqueryEntitiesOptions as $options) { $this->queryEntitiesWorker($options); } }