1use strict; 2use warnings; 3 4use Test2::Tools::Tiny; 5 6use ok 'Test2::EventFacet::About'; 7my $CLASS = 'Test2::EventFacet::About'; 8 9my $one = $CLASS->new(details => 'foo', package => 'bar', no_display => 0); 10 11is($one->details, "foo", "Got details"); 12is($one->package, "bar", "Got package"); 13is($one->no_display, 0, "Got no_display value"); 14 15is_deeply($one->clone, $one, "Cloning."); 16isnt($one->clone, $one, "Clone is a new ref"); 17 18ok(!$CLASS->is_list, "Not a list"); 19is($CLASS->facet_key, 'about', "Got key"); 20 21done_testing; 22