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

13 lines
320 B
PHP

<?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));
}
}