protected function EntityQueryTest::assertRevisionResult

1 call to EntityQueryTest::assertRevisionResult()
EntityQueryTest::testEntityQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
Test basic functionality.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php, line 448
Definition of Drupal\system\Tests\Entity\EntityQueryTest.

Class

EntityQueryTest
Tests the basic Entity API.

Namespace

Drupal\system\Tests\Entity

Code

protected function assertRevisionResult($keys, $expected) {
  $assert = array();
  foreach ($expected as $key => $binary) {
    $assert[$keys[$key]] = strval($binary);
  }
  $this
    ->assertIdentical($this->queryResults, $assert);
  return $assert;
}