6 use lib 't/cdbi/testlib';
12 Title => "Breaking the Waves",
13 Director => 'Lars von Trier',
17 my $film = Film->construct({
18 Title => "Breaking the Waves",
19 Director => 'Lars von Trier',
23 is $film->title, "Breaking the Waves";
24 is $film->director, "Lars von Trier";
25 is $film->rating, "R",
26 "constructed objects can get missing data from the db";
32 Foo->columns( TEMP => qw(temp_thing) );
33 my $film = Foo->construct({
37 ::is $film->temp_thing, 23, "construct sets temp columns";