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