filter = new V16(); } public function tearDown(): void { } public function createExecutionProvider(): array { return [ 'data' => [ [ 'data' => 'Lorem ipsum' ], [ 'body' => 'Lorem ipsum' ], ], 'no data' => [ [], [ 'body' => '' ], ], ]; } /** * @dataProvider createExecutionProvider */ public function testCreateExecution(array $content, array $expected): void { $model = 'functions.createExecution'; $result = $this->filter->parse($content, $model); $this->assertEquals($expected, $result); } }