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

testUpdateReplaceMultiple() public method

    public function testUpdateReplaceMultiple()
    {
        $this->setExpectedExceptionRegExp('MongoWriteConcernException', '/multi update only works with \\$ operators/', 9);
        $this->getCollection()->update(['foo' => 'bar'], ['foo' => 'foo'], ['multiple' => true]);
    }
MongoCollectionTest