/** * @vcr posts/test-get-post-formats-no-privilege-vcr.yml * @expectedException HieuLe\WordpressXmlrpcClient\Exception\XmlrpcException * @expectedExceptionCode 403 * @expectedExceptionMessage You are not allowed access to details about this site. */ public function testGetPostFormatsNoPrivilege() { $postFormats = $this->guestClient->getPostFormats(); }