expectException(ClientException::class); $this->expectExceptionCode(self::STATUS_UNAUTHORIZED); $this->callApi(self::METHOD_GET, '/short-codes'); } }