/** * @vcr taxonomies/test-delete-term-not-exist-vcr.yml * @expectedException HieuLe\WordpressXmlrpcClient\Exception\XmlrpcException * @expectedExceptionCode 404 * @expectedExceptionMessage Invalid term ID */ public function testDeleteTermNotExist() { $termId = $this->client->deleteTerm(444, 'category'); }