MongoMinKeyTest.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 MongoMinKeyTest extends TestCase
  8. {
  9. public function testConvert()
  10. {
  11. $minKey = new \MongoMinKey();
  12. $this->skipTestUnless($minKey instanceof TypeInterface);
  13. $this->assertInstanceOf('MongoDB\BSON\MinKey', $minKey->toBSONType());
  14. }
  15. }