use Test::More tests => 8;

package MyVal;

use Validation::Class;

package main;
my $v = MyVal->new;

# check attributes
ok $v->fields({}),  'fields attr ok';
ok $v->filters({}), 'filters attr ok';
ok $v->params({}),  'params attr ok';
ok $v->mixins({}),  'mixins attr ok';
ok $v->types({}),   'types attr ok';

ok $v->ignore_unknown(1), 'ignore unknown attr ok';
ok $v->report_unknown(1), 'report unknown attr ok';

ok !$v->error_count, 'no errors yet';
