lithium\tests\cases\test\MockerTest::testMultipleResultsSimple PHP Method

testMultipleResultsSimple() public method

    public function testMultipleResultsSimple()
    {
        $results = array('method1' => array(array('args' => array(), 'results' => true, 'time' => 100)));
        $staticResults = array('method1' => array(array('args' => array(), 'results' => true, 'time' => 0)));
        $expected = array('method1' => array(array('args' => array(), 'results' => true, 'time' => 0), array('args' => array(), 'results' => true, 'time' => 100)));
        $this->assertEqual($expected, Mocker::mergeResults($results, $staticResults));
    }