lithium\tests\cases\test\UnitTest::testCompareIdenticalMixedArray PHP Method

testCompareIdenticalMixedArray() public method

    public function testCompareIdenticalMixedArray()
    {
        $array1 = array('command' => 'test', 'action' => 'action', 'args' => array(), 'long' => 'something', 'i' => 1);
        $array2 = array('command' => 'test', 'action' => 'action', 'long' => 'something', 'args' => array(), 'i' => 1);
        $result = $this->test->compare('identical', $array1, $array2);
        $expected = array('trace' => null, 'expected' => $array1, 'result' => $array2);
        $this->assertEqual($expected, $result);
    }
UnitTest