public function testRemove() { $case = new ArrayCase($this->arr); $this->assertTrue($case->has('baz')); $case->remove('baz'); $this->assertFalse($case->has('baz')); }
/** * Is the response a redirect? * @return boolean Whether the response is a redirect */ public function isRedirect() { return $this->headers->has('Location') && ($this->statusCode >= 300 && $this->statusCode < 400); }