use Test;
use Template::Mustache;

plan 1;

class TestObj {
    method Str() { "I am your father!" }
}

my $tm = Template::Mustache.new;
is $tm.render('{{object}}', { object => TestObj.new }),
    "I am your father!",
    'Object stringifies';

# vim:set ft=perl6:
