Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testInsertWithNumericKey PHP Méthode

testInsertWithNumericKey() public méthode

    public function testInsertWithNumericKey()
    {
        $document = ['foo'];
        $this->getCollection()->insert($document);
        $this->assertSame(1, $this->getCollection()->count(['foo']));
    }
MongoCollectionTest