5 use lib 't/cdbi/testlib';
10 Title => "Breaking the Waves",
11 Director => 'Lars von Trier',
15 my $film = Film->construct({
16 Title => "Breaking the Waves",
17 Director => 'Lars von Trier',
21 is $film->title, "Breaking the Waves";
22 is $film->director, "Lars von Trier";
23 is $film->rating, "R",
24 "constructed objects can get missing data from the db";
30 Foo->columns( TEMP => qw(temp_thing) );
31 my $film = Foo->construct({
35 ::is $film->temp_thing, 23, "construct sets temp columns";