Ejemplo n.º 1
0
 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);
 }