Understanding assertInternalType

$this->assertInternalType('array', $family['parents']); //true as
'parents' itself is an array
Understanding assertInstanceOf

ini_set("date.timezone", "UTC");
class DateFormatter {...}
$this->assertInstanceOf('DateTime', $date->getStamp(),"Not instance of
Datetime");