Slide 9
Slide 9 text
PHP
/**
* @param string $input
* @param int $expectedLength
* @testWith ["test", 4]["longer-string", 13]
*/
public function testStringLength(string $input, int
$expectedLength): void
{
$this->assertEquals($expectedLength, \strlen($input));
}