mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 06:27:28 +02:00
14 lines
370 B
PHP
14 lines
370 B
PHP
<?php
|
|
|
|
use Pest\Arch\Exceptions\ArchExpectationFailedException;
|
|
use Pest\Expectation;
|
|
use Tests\Fixtures\Inheritance\ExampleTest;
|
|
|
|
it('passes', function () {
|
|
expect(Expectation::class)->toHaveAllPropertiesDocumented();
|
|
});
|
|
|
|
it('fails', function () {
|
|
expect(ExampleTest::class)->toHaveAllPropertiesDocumented();
|
|
})->throws(ArchExpectationFailedException::class);
|