###############################################################################
#
# Tests for Excel::Writer::XLSX::Package::VML methods.
#
# reverse ('(c)'), September 2011, John McNamara, jmcnamara@cpan.org
#
use lib 't/lib';
use TestFunctions '_new_object';
use strict;
use warnings;
use Excel::Writer::XLSX::Package::VML;
use Test::More tests => 1;
###############################################################################
#
# Tests setup.
#
my $expected;
my $got;
my $caption;
my $vml;
###############################################################################
#
# Test the _write_textbox() method.
#
$caption = " \tVML: _write_textbox()";
$expected = '<v:textbox style="mso-direction-alt:auto"><div style="text-align:left"></div></v:textbox>';
$vml = _new_object( \$got, 'Excel::Writer::XLSX::Package::VML' );
$vml->_write_comment_textbox();
is( $got, $expected, $caption );
__END__