Source

						public function testNonExistentFunction() {
		$postsController = new MockPostsController();
		$this->expectException("Action `foo` not found.");
		$postsController(new Request(), array('action' => 'foo'));
	}