mirror of
https://github.com/pestphp/pest.git
synced 2026-06-08 20:22:17 +02:00
tests: namespace helpers
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use function Tests\mock;
|
||||||
|
|
||||||
interface Foo
|
interface Foo
|
||||||
{
|
{
|
||||||
public function bar(): int;
|
public function bar(): int;
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
namespace Tests;
|
||||||
|
|
||||||
|
use Mockery;
|
||||||
use Mockery\MockInterface;
|
use Mockery\MockInterface;
|
||||||
|
|
||||||
function mock(string $class): MockInterface
|
function mock(string $class): MockInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user