Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Stop using deprecated setMethods method (#427)
* Tests: Stop using deprecated setMethods method Use `onlyMethods()` instead, which ensures that the method that is being mocked does exist in the class being mocked. * Tests: use onlyMethods() only if it exists
- Loading branch information