mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
12 lines
290 B
PHP
12 lines
290 B
PHP
<?php
|
|
|
|
use Pest\Panic;
|
|
|
|
it('can reference a specific class', function () {
|
|
expect(Panic::class)->toBeString();
|
|
})->references(Panic::class);
|
|
|
|
it('can reference a specific class method', function () {
|
|
expect(Panic::with(...))->toBeCallable();
|
|
})->references([Panic::class, 'with']);
|