public function testBadCallMethodOnView() { View::useLib('Mock'); $view = new View(); $this->expectException(new TouptiException('Could not call assign2 either on View nor on a Lib')); $view->assign2('chuck', 'norris'); }