* @link https://www.oxidmodule.com */ declare(strict_types=1); namespace D3\DataWizard\tests\unit\Application\Model\ExportRenderer; use D3\DataWizard\Application\Model\ExportRenderer\Json; class JsonTest extends ExportRendererTest { /** @var Json */ protected $_oModel; public function setUp() : void { parent::setUp(); $this->_oModel = oxNew(Json::class); } /** * @covers \D3\DataWizard\Application\Model\ExportRenderer\Json::getContent * @test * @throws \ReflectionException */ public function canGetContent() { $fieldList = ['field1', 'field2']; $valueList = ['value1', 'value2']; $this->assertJson( $this->callMethod( $this->_oModel, 'getContent', [$valueList, $fieldList] ) ); } }