public function testQueryPostByMeta() { $post = Post::hasMeta('username', 'juniorgrossi')->first(); $this->assertEquals(1, $post->ID); }