*/ class t3lib_arrayBrowserTest extends tx_phpunit_testcase { /** * @var t3lib_arrayBrowser */ private $fixture; public function setUp() { $this->fixture = new t3lib_arrayBrowser(); } public function tearDown() { unset($this->fixture); } /////////////////////////////// // Tests concerning depthKeys /////////////////////////////// /** * @test */ public function depthKeysWithEmptyFirstParameterAddsNothing() { $this->assertEquals( array(), $this->fixture->depthKeys(array(), array()) ); } /** * @test */ public function depthKeysWithNumericKeyAddsOneNumberForKeyFromFirstArray() { $this->assertEquals( array(0 => 1), $this->fixture->depthKeys(array('foo'), array()) ); } } ?>