route = new OauthRoute($I); } public function testDelete(FunctionalTester $I): void { $I->amAuthenticated('TwoOauthClients'); $this->route->deleteClient('first-test-oauth-client'); $I->canSeeResponseCodeIs(200); $I->canSeeResponseIsJson(); $I->canSeeResponseContainsJson([ 'success' => true, ]); } }