markTestSkipped('Must have the grpc extension installed to run this test.'); } if (defined('HHVM_VERSION')) { $this->markTestSkipped('gRPC is not supported on HHVM.'); } } /** * @return bool True if grpc tests should be skipped, otherwise false * * @experimental * @internal */ public function shouldSkipGrpcTests() { return !extension_loaded('grpc') || defined('HHVM_VERSION'); } }