public function testCanLoadFromGlobals() { $_GET['foo'] = 'Hello'; $input = Input::createFromGlobals(); $this->assertEquals($_GET['foo'], $input->get('foo')); $this->assertNull($input->get('bar')); }
public function testCanLoadFromGlobals() { $_GET["foo"] = "Hello"; $input = Input::createFromGlobals(); $this->assertEquals($_GET["foo"], $input->get("foo")); $this->assertNull($input->get("bar")); }