package My::Test::Encode::both;

use Moo::Role;

sub print  { }
sub say    { }
sub encode { }
sub close  { }

with 'Data::Record::Serialize::Role::Encode';
with 'Data::Record::Serialize::Role::Sink';

1;
