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