public function test_should_get_post_name() { $post = new WordPress_GitHub_Sync_Post($this->id, $this->api); $this->assertEquals(get_post($this->id)->post_name, $post->name()); }