public function RestProcessorTest::testGetEmptyData in Radioactivity 8.3
Same name and namespace in other branches
- 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\UnitCode
public function testGetEmptyData() {
$response = $this->sut
->getData();
$this
->assertEquals('[]', $response);
}