# $Id: 12-taxa.t 4444 2007-08-21 13:04:36Z rvosa $ use strict; #use warnings; use Test::More tests => 4; use Bio::Phylo::Taxa; ok( my $taxa = new Bio::Phylo::Taxa, '1 initialize object' ); $taxa->VERBOSE( -level => 0 ); eval { $taxa->insert('Bad!') }; ok( UNIVERSAL::isa( $@, 'Bio::Phylo::Util::Exceptions::ObjectMismatch' ), '2 insert bad object' ); ok( $taxa->_container, '3 container' ); ok( $taxa->_type, '4 container_type' );