5 use SGN::Test::Fixture;
10 my $f = SGN::Test::Fixture->new();
12 my $trait = CXGN::Trait->new( { bcs_schema => $f->bcs_schema(), cvterm_id => 70666 });
14 is($trait->name(), "fresh root weight", "check trait name");
16 is($trait->format(), "numeric", "check trait format");
18 is($trait->db(), "CO_334", "check db property");
20 is($trait->accession(), "0000012", "check accession property");
22 is($trait->term(), "CO_334:0000012", "check term property");
24 #is($trait->display_name(), "CO_334:fresh root weight", "check display name property");
25 is($trait->display_name(), "fresh root weight|CO_334:0000012", "check display name property");