public function write_output() { $this->assertEquals('"Test"', Json::write('Test', new StringOutput())->bytes()); }