/** * Test get and set header (without Array Access) */ public function testGetAndSetHeader() { $r = new \Slim\Http\Response(); $r->header('X-Foo', 'Bar'); $this->assertEquals('Bar', $r->header('X-Foo')); }
/** * Test get and set header (without Array Access) */ public function testGetAndSetHeader() { $r = new \Slim\Http\Response(); $r->header('X-Foo', 'Bar'); $this->assertEquals('Bar', $r->header('X-Foo')); }