function ContextMapperTest::testGetContextValues

Same name and namespace in other branches
  1. 4.0.x tests/src/Unit/ContextMapperTest.php \Drupal\Tests\ctools\Unit\ContextMapperTest::testGetContextValues()

@covers ::getContextValues

File

tests/src/Unit/ContextMapperTest.php, line 61

Class

ContextMapperTest
@coversDefaultClass <a href="/api/ctools/src%21ContextMapper.php/class/ContextMapper/8.x-3.x" title="Maps context configurations to context objects." class="local">\Drupal\ctools\ContextMapper</a>

Namespace

Drupal\Tests\ctools\Unit

Code

public function testGetContextValues() {
    $input = [];
    $actual = $this->staticContext
        ->getContextValues($input);
    $this->assertEquals([], $actual);
}