/** * @vcr posts/test-get-post-type-invalid-name-vcr.yml * @expectedException HieuLe\WordpressXmlrpcClient\Exception\XmlrpcException * @expectedExceptionCode 403 * @expectedExceptionMessage Invalid post type */ public function testGetPostTypeInvalidName() { $postType = $this->client->getPostType('post_foo'); }