mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat(mock): adds work in progress
This commit is contained in:
@ -63,6 +63,7 @@
|
||||
✓ it allows to call underlying protected/private methods
|
||||
✓ it throws error if method do not exist
|
||||
✓ it can forward unexpected calls to any global function
|
||||
✓ it can use helpers from helpers file
|
||||
|
||||
PASS Tests\Features\HigherOrderTests
|
||||
✓ it proxies calls to object
|
||||
@ -77,7 +78,8 @@
|
||||
✓ it will throw exception from call if no macro exists
|
||||
|
||||
PASS Tests\Features\Mocks
|
||||
✓ it has bar
|
||||
✓ it can mock methods
|
||||
✓ access to the mock object
|
||||
|
||||
PASS Tests\Features\PendingHigherOrderTests
|
||||
✓ get 'foo' → get 'bar' → expect true → toBeTrue
|
||||
@ -221,5 +223,9 @@
|
||||
✓ it is a test
|
||||
✓ it uses correct parent class
|
||||
|
||||
<<<<<<< HEAD
|
||||
Tests: 7 skipped, 119 passed
|
||||
=======
|
||||
Tests: 7 skipped, 117 passed
|
||||
>>>>>>> feat(mock): adds work in progress
|
||||
|
||||
Reference in New Issue
Block a user