send('APP') ->through([TimerMiddleware::class]) ->then(function (string $value) { return $value; }); $this->assertEquals('APP', $a); } }