IOP-Patho/vendor/codeception/base/tests/unit/Codeception/Step/ConditionalAssertionTest.php

13 lines
320 B
PHP
Raw Normal View History

2025-07-17 08:28:28 +00:00
<?php
use \Codeception\Step\ConditionalAssertion;
class ConditionalAssertionTest extends \PHPUnit\Framework\TestCase
{
public function testCantSeeToString()
{
$assertion = new ConditionalAssertion('dontSee', ['text']);
$this->assertEquals('cant see "text"', $assertion->toString(200));
}
}