mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
11 lines
360 B
PHP
11 lines
360 B
PHP
<?php
|
|
|
|
use PHPUnit\Framework\Attributes\CoversNothing;
|
|
|
|
it('uses the correct PHPUnit attribute for covers nothing', function () {
|
|
$attributes = (new ReflectionMethod($this, $this->name()))->getAttributes();
|
|
|
|
expect($attributes[2]->getName())->toBe(CoversNothing::class);
|
|
expect($attributes[2]->getArguments())->toHaveCount(0);
|
|
})->coversNothing();
|