xref: /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/EventFacet/Info.t (revision f6aab3d83b51b91c24247ad2c2573574de475a82)
1use strict;
2use warnings;
3
4use Test2::Tools::Tiny;
5
6use ok 'Test2::EventFacet::Info';
7my $CLASS = 'Test2::EventFacet::Info';
8
9my $one = $CLASS->new(details => 'foo', tag => 'bar', debug => 0);
10
11is($one->details, "foo", "Got details");
12is($one->tag, "bar", "Got tag");
13is($one->debug, 0, "Got 'debug' value");
14
15is_deeply($one->clone, $one, "Cloning.");
16isnt($one->clone, $one, "Clone is a new ref");
17
18ok($CLASS->is_list, "is a list");
19is($CLASS->facet_key, 'info', "Got key");
20
21done_testing;
22