/**
  * @vcr taxonomies/test-delete-term-no-privilege-vcr.yml
  * @expectedException HieuLe\WordpressXmlrpcClient\Exception\XmlrpcException
  * @expectedExceptionCode 401
  * @expectedExceptionMessage You are not allowed to delete terms in this taxonomy.
  */
 public function testDeleteTermNoPrivilege()
 {
     $terms = $this->client->getTerms('category', array('number' => 1));
     $this->assertNotEmpty($terms);
     $termId = $this->guestClient->DeleteTerm($terms[0]['term_id'], 'category');
 }