Created
October 26, 2017 12:44
-
-
Save urukalo/f9ddc2c7592336f942bfe77c0c258e1e to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
$eloquentObject = Mockery::mock(MyClass::class); | |
$eloquentObject->shouldReceive('getAttribute')->with('retationName')->andReturn($relatedObject); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment