* SPDX-FileContributor: Henrique Moody */ declare(strict_types=1); use Respect\Validation\ValidatorBuilder; test('Scenario #1', catchMessage(function (): void { v::templated('{{subject}} is not tasty', ValidatorBuilder::satisfies('is_int')->between(1, 2))->assert('something'); }, fn(string $message) => expect($message)->toBe('"something" is not tasty')));