Sokil\Mongo\StructureTest::testMergeUnmodified_WithoutDots_ExistedKey PHP Метод

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

    public function testMergeUnmodified_WithoutDots_ExistedKey()
    {
        $structure = new Structure();
        $structure->mergeUnmodified(array('param' => 'value1'));
        $structure->mergeUnmodified(array('param' => 'value2'));
        $this->assertEquals(array('param' => 'value2'), $structure->toArray());
    }