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

testAssertCountFalse() public method

    public function testAssertCountFalse()
    {
        $this->assertFalse($this->test->assertCount(2, array('foo', 'bar', 'bar')));
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertIdentical(array('expected' => 2, 'result' => 3), $result['data']);
    }
UnitTest