The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

use Test::More tests => 3;

use HTML::FormFu;

my $form = HTML::FormFu->new->load_config_file(
    't-aggregate/load_config/load_config_file_multi_stream.yml');

my ( $foo, $bar, $baz ) = @{ $form->get_fields };

ok( $foo->get_constraint );
ok( $bar->get_constraint );

# no constraint
ok( !$baz->get_constraint );