/**
  * @test
  * @return void
  */
 public function previousNeighbourCanBeFound()
 {
     $this->news->_setProperty('uid', 106);
     $fo = $this->mockedViewHelper->_call('getNeighbours', $this->news, '', 'datetime');
     $exp = array(0 => array('uid' => 105, 'title' => NULL), 1 => array('uid' => 106, 'title' => NULL));
     $this->assertEquals($exp, $fo);
 }
 /**
  * @test
  */
 public function wrongIdWillReturnNullForObject()
 {
     $out = $this->viewHelper->_call('getObject', 0);
     $this->assertEquals($out, NULL);
 }