Exemplo n.º 1
0
 /**
  * Tests validating calls to __callStatic
  */
 public function testVerificationOfStaticCall()
 {
     $mock = Phake::mock('PhakeTest_MagicClass');
     $mock::foo();
     Phake::verifyStaticCallMethodWith(Phake::anyParameters())->isCalledOn($mock);
 }