/** * Compare all values in a single retrieved DB record to an array of expected values. * @param string $daoName * @param array $searchParams * @param $expectedValues */ public function assertDBCompareValues($daoName, $searchParams, $expectedValues) { if (self::checkDoLocalDBTest()) { CiviDBAssert::assertDBCompareValues($this, $daoName, $searchParams, $expectedValues); } }
function assertAttributesEquals(&$expectedValues, &$actualValues) { if (!self::checkDoLocalDBTest()) { return; } return CiviDBAssert::assertAttributesEquals($expectedValues, $actualValues); }