public function testCrudAccess()
 {
     $account = new AdAccount($this->getConfig()->accountId);
     $cursor = $account->getPartnerCategories();
     if (!$cursor->count()) {
         $this->markTestSkipped();
     }
     /* @var $category AbstractCrudObject */
     $category = $cursor->current();
     $this->assertTrue($category instanceof PartnerCategory);
     $this->assertCanRead($category);
     $this->assertCannotUpdate($category);
     $this->assertCannotDelete($category);
     $this->assertCannotCreate(new PartnerCategory(null, $this->getConfig()->accountId));
 }