/**
  * @covers WindowsAzure\Table\TableRestProxy::insertEntity
  * @covers WindowsAzure\Table\TableRestProxy::queryEntities
  */
 public function testInsertEntityDateNegative()
 {
     foreach (TableServiceFunctionalTestData::getInterestingBadDates() as $o) {
         $ent = new Entity();
         $ent->setPartitionKey(TableServiceFunctionalTestData::getNewKey());
         $ent->setRowKey(TableServiceFunctionalTestData::getNewKey());
         try {
             $ent->addProperty('DATETIME', EdmType::DATETIME, $o);
             $this->fail('Should get an exception when trying to parse this value');
             $this->insertEntityWorker($ent, false, null, $o);
         } catch (\Exception $e) {
             $this->assertEquals(0, $e->getCode(), 'getCode');
             $this->assertTrue(true, 'got expected exception');
         }
     }
 }