Closed alex-krash closed 9 years ago
It is more convenient to override methods via $Script = $this->getMock(MyClass::mock, ['method']); Expects support for: $Script->expects($this->any())->method(AUTOCOMPLETE GOES HERE);
New supported methods:
PHPUnit_Framework_TestCase::getMock PHPUnit_Framework_TestCase::getMockClass PHPUnit_Framework_TestCase::getMockForAbstractClass PHPUnit_Framework_TestCase::getMockForTrait
It is more convenient to override methods via $Script = $this->getMock(MyClass::mock, ['method']); Expects support for: $Script->expects($this->any())->method(AUTOCOMPLETE GOES HERE);