コード例 #1
0
 /**
  * @vcr comments/test-delete-comment-no-privilege-vcr.yml
  * @expectedException HieuLe\WordpressXmlrpcClient\Exception\XmlrpcException
  * @expectedExceptionCode 403
  * @expectedExceptionMessage You are not allowed to moderate comments on this site.
  */
 public function testDeleteCommentNoPrivilege()
 {
     $result = $this->guestClient->deleteComment(1);
 }