Exemplo n.º 1
0
 /**
  * Testing Utilities::getRequestVar()
  *
  * @return null
  */
 public function testGetRequestVar()
 {
     $_POST["testPostVarName"] = "testPostVarValue";
     $_GET["testGetVarName"] = "testGetVarValue";
     $oUtils = new Utilities();
     $this->assertEquals("testPostVarValue", $oUtils->getRequestVar("testPostVarName"));
     $this->assertEquals("testGetVarValue", $oUtils->getRequestVar("testGetVarName"));
 }