Files
pest/src/Concerns/Expectable.php
luke 3a20696da4 CS
2021-06-18 22:03:51 +01:00

28 lines
382 B
PHP

<?php
declare(strict_types=1);
namespace Pest\Concerns;
use Pest\Expectation;
/**
* @internal
*/
trait Expectable
{
/**
* @template TValue
*
* Creates a new expectation.
*
* @param TValue $value
*
* @return Expectation<TValue>
*/
public function expect($value): Expectation
{
return new Expectation($value);
}
}