expectException(\InvalidArgumentException::class); Truncate::chars('Hello', 2, suffix: '...'); } public function testLimitEqualToSuffixLengthReturnsEmptySuffix(): void { // limit=3, suffix='...' (3 chars) → cutLength=0 → '' + '...' self::assertSame('...', Truncate::chars('Hello world', 3, suffix: '...')); } }