4 use lib 't/cdbi/testlib';
9 use base 'DBIC::Test::SQLite';
11 Thing->columns(TEMP => qw[foo bar]);
12 Thing->columns(All => qw[thing_id yarrow flower]);
17 is_deeply( [sort Thing->columns("TEMP")],
21 my $thing = Thing->construct(
22 { thing_id => 23, foo => "this", bar => "that" }
26 is( $thing->yarrow, "hock", 'custom accessor not overwritten by column' );
27 is( $thing->foo, 42, 'custom routine not overwritten by temp column' );
28 is( $thing->bar, "that", 'temp column accessor generated' );