mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
feat(mock): adds work in progress
This commit is contained in:
+2
-7
@@ -1,11 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Mockery;
|
||||
use Mockery\MockInterface;
|
||||
|
||||
function mock(string $class): MockInterface
|
||||
function myAssertTrue($value)
|
||||
{
|
||||
return Mockery::mock($class);
|
||||
test()->assertTrue($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user