/** * Test __call exceptions * * @expectedException CakeException * @return void */ public function testMagicCallExceptionOnUnknownMethod() { $request = new CakeRequest('some/path'); $request->IamABanana(); }