Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testSaveEmptyObject PHP 메소드

testSaveEmptyObject() 공개 메소드

public testSaveEmptyObject ( )
    public function testSaveEmptyObject()
    {
        $document = (object) [];
        $this->getCollection()->save($document);
        $this->assertSame(1, $this->getCollection()->count());
    }
MongoCollectionTest