public function test_get_php_class() { $post_id = $this->factory->post->create(); $post = new BasePost($post_id); $this->assertEquals('BasePost', $post->get_php_class()); }