예제 #1
0
 public function testHasPostVarsAfterUnset()
 {
     $o = new PopulatedRequest();
     $o->setPostVars(null);
     $this->assertFalse($o->hasPostVars());
     $o->setPostVars(array('ana' => 'mere'));
     $this->assertTrue($o->hasPostVars());
 }