public function testPoly()
{
testpack('Testing poly');
$shoe = R::dispense('shoe');
$lace = R::dispense('lace');
$lace->color = 'white';
$id = R::store($lace);
$shoe->itemType = 'lace';
$shoe->item = $lace;
$id = R::store($shoe);
$shoe = R::load('shoe', $id);
$x = $shoe->poly('itemType')->item;
asrt($x->color, 'white');
}