public function testBindEntityException() { $this->setExpectedException('\\Exception'); $this->basic_form_handler->handleRequest(array()); $this->basic_form_handler->bindEntity(new StandardFormEntity()); }