#!/usr/bin/perl
use warnings;
use strict;
use XML::Atom::SimpleFeed;
package XML::Atom::SimpleFeed;
use Test::More tests => 2;
is person_construct( author => 'John Doe &' ), 'John Doe &', 'author names are escaped';
is person_construct( author => "John Doe \x{263A}" ), 'John Doe ☺', 'non-ASCII author names are encoded';