mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
12 lines
285 B
PHP
12 lines
285 B
PHP
<?php
|
|
|
|
it('allows access to the underlying expectNotToPerformAssertions method', function () {
|
|
$this->expectNotToPerformAssertions();
|
|
|
|
$result = 1 + 1;
|
|
});
|
|
|
|
it('allows performing no expectations without being risky', function () {
|
|
$result = 1 + 1;
|
|
})->hasNoExpectations();
|