* SPDX-FileContributor: Henrique Moody */ declare(strict_types=1); test('Scenario #1', catchFullMessage( fn() => v::templated('{{subject}} is not tasty', v::satisfies('is_string')->between(1, 2))->assert('something'), fn(string $fullMessage) => expect($fullMessage)->toBe(<<<'FULL_MESSAGE' - "something" is not tasty - "something" must be between 1 and 2 FULL_MESSAGE), ));