Created
July 9, 2020 20:05
-
-
Save minthemiddle/6e2bb99c4ad44293d429d3d4ba5048b0 to your computer and use it in GitHub Desktop.
Markdium-Lessons Learnt: Confident Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function testSpying() | |
| { | |
| $spy = Mockery::spy(); | |
| $this->assertNull($spy->quix()); | |
| // assert behavior | |
| $spy->shouldHaveReceived('quix')->once(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment