convert() public method

public convert ( ) : MongoDB\BSON\ObjectID
return MongoDB\BSON\ObjectID
 public function testShouldBeCastableToString()
 {
     $objectId = new ObjectID($this->mongoId);
     $this->assertSame((string) $this->mongoId, (string) $objectId->convert());
 }