Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testSaveEmptyObject PHP Method

testSaveEmptyObject() public method

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