Kraken\_Unit\Util\Support\ArraySupportTest::testApiRemove_RemovesElement_ForExistingKey PHP 메소드

testApiRemove_RemovesElement_ForExistingKey() 공개 메소드

    public function testApiRemove_RemovesElement_ForExistingKey()
    {
        $support = $this->createArraySupportMock();
        $array = $this->getArray();
        $this->assertTrue(isset($array['b']['a']));
        $support::remove($array, 'b.a');
        $this->assertFalse(isset($array['b']['a']));
    }
ArraySupportTest