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

testArrayNotHasKeyFalse() public method

    public function testArrayNotHasKeyFalse()
    {
        $this->assertFalse($this->test->assertArrayNotHasKey('bar', array('bar' => 'baz')));
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertIdentical(array('expected' => 'bar', 'result' => array('bar' => 'baz')), $result['data']);
    }
UnitTest