You are here

public function RestProcessorTest::testGetEmptyData in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x tests/src/Unit/RestProcessorTest.php \Drupal\Tests\radioactivity\Unit\RestProcessorTest::testGetEmptyData()

@covers ::getData

File

tests/src/Unit/RestProcessorTest.php, line 81

Class

RestProcessorTest
@coversDefaultClass \Drupal\radioactivity\RestProcessor @group radioactivity

Namespace

Drupal\Tests\radioactivity\Unit

Code

public function testGetEmptyData() {
  $response = $this->sut
    ->getData();
  $this
    ->assertEquals('[]', $response);
}