コード例 #1
0
ファイル: context_test.php プロジェクト: DECAF/redaxo
 public function testFromPost()
 {
     $key = 'context_test_post';
     $_POST[$key] = 'foo';
     $context = rex_context::fromPost();
     $this->assertEquals($_POST[$key], $context->getParam($key));
 }