Exemplo n.º 1
0
 public function testPrependUsingExistingSegmentOverwrites()
 {
     $this->_response->prepend('some', "some content\n");
     $this->_response->prepend('some', "more content\n");
     $content = $this->_response->getBody(true);
     $this->assertTrue(is_array($content));
     $expected = array('some' => "more content\n");
     $this->assertEquals($expected, $content);
 }