Пример #1
0
 /**
  *
  */
 function test_vars()
 {
     $request = new Request([Arg::PARAMS => ['foo' => 'bar'], Arg::ARGS => ['bat' => 'baz'], Arg::DATA => ['dir' => 'asc']]);
     $this->assertEquals($request->params() + $request->args() + $request->data(), $request->vars());
 }