public function testCanDetectOutputContentTypeByContentsOfStorage() { $this->assertEquals(new Response(ContentType::txt(), '123'), self::c(new Request('/11'), m::mock('Barberry\\Storage\\StorageInterface', array('getById' => '123')))->GET()); }