public function testToPHP() { $type = new BinDataType(); $this->assertSame('123', $type->toPHP(new \MongoDB\BSON\Binary('123', \MongoDB\BSON\Binary::TYPE_GENERIC))); }
public function testToPHP() { $type = new BinDataType(); $this->assertSame('123', $type->toPHP(new \MongoBinData('123'))); }