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

testMagicCallStaticGetStoredResultsWhenCalled() public method

    public function testMagicCallStaticGetStoredResultsWhenCalled()
    {
        $obj = new \lithium\tests\mocks\test\mockStdClass\Mock();
        $obj->__callStatic('foo', array());
        $results = Mocker::mergeResults($obj->results, $obj::$staticResults);
        $this->assertArrayHasKey('__callStatic', $results);
        $this->assertArrayNotHasKey('__call', $results);
    }