diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index eac6f8da9..0c680b33d 100644 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -355,6 +355,8 @@ class SapphireTest extends PHPUnit_Framework_TestCase { * ), $members); */ function assertDOSEquals($matches, $dataObjectSet) { + if(!$dataObjectSet) return false; + $extracted = array(); foreach($dataObjectSet as $item) $extracted[] = $item->toMap();