public function testConvert() { $maxKey = new \MongoMaxKey(); $this->skipTestUnless($maxKey instanceof TypeInterface); $this->assertInstanceOf('MongoDB\\BSON\\MaxKey', $maxKey->toBSONType()); }