19 $this->outer->setStatus(201);
20 $this->assertEquals(201, $this->inner->getStatus());
21 $this->assertEquals(201, $this->outer->getStatus());
22 $this->assertEquals(
'Created', $this->inner->getStatusText());
23 $this->assertEquals(
'Created', $this->outer->getStatusText());
29 $this->inner->setStatus(201);
30 $this->inner->setBody(
'foo');
31 $this->inner->setHeader(
'foo',
'bar');
33 $this->assertEquals((
string)$this->inner, (
string)$this->outer);
This class represents a single HTTP response.