public function testFlatNestedArrayToFlatDotNotation() { $nested_array = $this->_getArrayPreset('dotted_notation_tests'); $expected_array = array('flat' => 'bar', 'foo.bar.baz' => true, 'foo.bar.bat' => false); $this->assertSame($expected_array, ArrayUtils::dot($nested_array)); }