The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#
# Test retrieving list of cast in case of Credited cast.
#

use strict;

use Test::More tests => 1;
use IMDB::Film;

my $crit = '0326272';
my %pars = (cache => 0, debug => 0, crit => $crit);

my $obj = new IMDB::Film(%pars);

is_deeply($obj->cast->[0], {id => '1202207', name => 'Kathleen Cassello', role => 'Herself'}, 'casts');