public function testShouldDispatchToControllerClassWithoutConnectMethod() { $path = dirname(dirname(__FILE__)) . '/apps/sample/'; $dispatcher = new Net_URL_Dispatcher(__METHOD__); ob_start(); $dispatcher->dispatchController('HogeController', 'indexAction', null, $path); $buffer = ob_get_contents(); ob_end_clean(); $this->assertSame($buffer, 'HogeController_indexAction'); }