/** * @param array|string $allowed * @param array|string $disallowed * @param array|string $values * @test * @dataProvider invalidInlineChildrenFilterParametersDataProvider */ public function areInlineChildrenFilteredWithInvalidParameters($allowed, $disallowed, $values) { $this->parameters = array('allowedFileExtensions' => $allowed, 'disallowedFileExtensions' => $disallowed, 'values' => $values); $this->tceMainMock->expects($this->never())->method('deleteAction'); $this->fileFactoryMock->expects($this->never())->method('getFileReferenceObject'); $this->filter->filterInlineChildren($this->parameters, $this->tceMainMock); }