/** * @expectedException InvalidArgumentException */ public function testNotEnoughArguments() { $server = new Server(); $server->bind('getAllC', new B(), 'getAll'); $server->executeProcedure('getAllC'); }