['tp', 'thinkphp'], 'psr' => 'psr-7'], '123'); } }; $response = $dispatch->run(); $this->assertInstanceOf(\think\Response::class, $response); $this->assertEquals('123', $response->getContent()); $this->assertEquals('tp, thinkphp', $response->getHeader('framework')); $this->assertEquals('psr-7', $response->getHeader('psr')); } }