Kraken\_Unit\Util\Support\ArraySupportTest::testApiRemove_RemovesElement_ForExistingKey PHP Method

testApiRemove_RemovesElement_ForExistingKey() public method

    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