Пример #1
0
 /**
  * @test
  * @expectedException \InvalidArgumentException
  */
 public function renderThrowsExceptionIfGivenSubjectIsNotCountable()
 {
     $object = new \stdClass();
     $this->viewHelper->setArguments(array('subject' => $object));
     $this->viewHelper->initializeArgumentsAndRender();
 }