use strict; use Test::More (tests => 5); use Test::Moose; BEGIN { use_ok("Atomik::Entry"); } { my $entry = Atomik::Entry->from_xml( < Atom-Powered Robots Run Amok urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a 2003-12-13T18:30:02Z John Doe Some text. EOXML ok($entry); isa_ok($entry, 'Atomik::Entry'); is( $entry->title, "Atom-Powered Robots Run Amok" ); is( $entry->content->data, "Some text."); }