public function testAddEmptyMetadata() { $batch = [Grpc\OP_SEND_INITIAL_METADATA => []]; $result = $this->call->startBatch($batch); $this->assertTrue($result->send_metadata); }