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

testAssertIdenticalArray() public method

    public function testAssertIdenticalArray()
    {
        $expected = array('1', '2', '3');
        $result = array('1', '3', '4');
        $this->test->assertIdentical($expected, $result);
        $results = $this->test->results();
        $expected = 'fail';
        $this->assertEqual($expected, $results[0]['result']);
        $expected = "trace: [1]\nexpected: '2'\nresult: '3'\n";
        $this->assertEqual($expected, $results[0]['message']);
    }
UnitTest