/** * @group unit * @dataProvider dataProviderCreateInvalid * @expectedException \Elastica\Exception\InvalidException */ public function testCreateInvalid($data) { ScriptFile::create($data); }