lithium\tests\cases\test\DispatcherTest::testRunWithReporter PHP Method

testRunWithReporter() public method

public testRunWithReporter ( )
    public function testRunWithReporter()
    {
        $report = Dispatcher::run(null, array('reporter' => function ($info) {
            return $info;
        }));
        $this->assertInstanceOf('lithium\\test\\Report', $report);
        $result = $report->group;
        $this->assertInstanceOf('lithium\\test\\Group', $result);
    }