public function test_set_stringable_content() { $item = new StringableItem(); $response = new HttpResponse(); $this->assertFalse($response->hasContent()); $response->setContent($item); $this->assertTrue($response->hasContent()); $this->assertEquals($item->toString(), $response->getContent()); }