feat(helpers): adds helpers file

This commit is contained in:
Nuno Maduro
2020-05-14 23:03:56 +02:00
parent 9288490613
commit c97fd17120
5 changed files with 37 additions and 5 deletions

View File

@ -6,7 +6,7 @@ interface Foo
}
it('has bar', function () {
$mock = Mockery::mock(Foo::class);
$mock = mock(Foo::class);
$mock->shouldReceive('bar')
->times(1)
->andReturn(2);