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

testFindAndModifyResultException() public méthode

    public function testFindAndModifyResultException()
    {
        $this->markTestSkipped('Test fails on travis-ci - skipped while investigating this');
        $collection = $this->getCollection();
        $this->setExpectedException('MongoResultException');
        $collection->findAndModify(array("inprogress" => false, "name" => "Next promo"), array('$unsupportedOperator' => array("tasks" => -1)), array("tasks" => true), array("new" => true));
    }
MongoCollectionTest