/**
* @test
* @expectedException PHPUnit_Framework_Error_Deprecated
* @expectedExceptionMessage Use Arrays::removeNestedKey instead
*/
public function shouldThrowDeprecatedExceptionWhenUseRemoveNestedValue()
{
//given
$array = array('1' => array('2' => array('3' => 'value')));
//when
/** @noinspection PhpDeprecationInspection */
Arrays::removeNestedValue($array, array('1', '2'));
}