MongoMaxKeyTest.php 410 B

1234567891011121314151617
  1. <?php
  2. namespace Alcaeus\MongoDbAdapter\Tests;
  3. use Alcaeus\MongoDbAdapter\TypeInterface;
  4. /**
  5. * @author alcaeus <alcaeus@alcaeus.org>
  6. */
  7. class MongoMaxKeyTest extends TestCase
  8. {
  9. public function testConvert()
  10. {
  11. $maxKey = new \MongoMaxKey();
  12. $this->skipTestUnless($maxKey instanceof TypeInterface);
  13. $this->assertInstanceOf('MongoDB\BSON\MaxKey', $maxKey->toBSONType());
  14. }
  15. }