public function testMapsBytesFromBigQuery() { $mapper = new ValueMapper(false); $actual = $mapper->fromBigQuery(['v' => base64_encode('abcd')], ['type' => 'BYTES']); $this->assertEquals((string) new Bytes('abcd'), (string) $actual); }