/**
  * @test
  */
 public function getHasMethodIsStillUsed()
 {
     $post = new Post();
     $post->setCategory('SomeCategory');
     $this->view->assignMultiple(array('post' => $post));
     $this->view->setTemplateSource('<f:if condition="{post.hasCategory}">Private!</f:if>');
     $actual = $this->view->render();
     $this->assertSame('Private!', $actual);
 }