lithium\tests\cases\data\source\mongo_db\ExporterTest::testUpdateWithNoChanges PHP Метод

testUpdateWithNoChanges() публичный Метод

    public function testUpdateWithNoChanges()
    {
        $doc = new Document(array('exists' => true, 'data' => array('numbers' => new DocumentSet(array('exists' => true, 'data' => array(7, 8, 9))), 'objects' => new DocumentSet(array('exists' => true, 'data' => array(new Document(array('exists' => true, 'data' => array('foo' => 'bar'))), new Document(array('exists' => true, 'data' => array('baz' => 'dib')))))), 'deeply' => new Document(array('exists' => true, 'data' => array('nested' => 'object'))))));
        $this->assertEmpty(Exporter::get('update', $doc->export()));
    }