use strict;
use warnings;
use XML::Atom::SimpleFeed;
package XML::Atom::SimpleFeed;
use Test::More 0.88; # for done_testing
is person_construct( author => 'John Doe &' ), '<author><name>John Doe &</name></author>', 'author names are escaped';
is person_construct( author => "John Doe \x{263A}" ), '<author><name>John Doe ☺</name></author>', 'non-ASCII author names are encoded';
done_testing;