function it_sets_a_configuration(CharsetValidator $charsetValidator) { $charsetValidator->setConfiguration(['withHeader' => true, 'enclosure' => ';'])->shouldBeCalled(); $this->setCharsetValidator($charsetValidator); $this->setConfiguration(['withHeader' => true, 'enclosure' => ';']); }
/** * {@inheritdoc} */ protected function doExecute(StepExecution $stepExecution) { $this->charsetValidator->setStepExecution($stepExecution); $this->charsetValidator->validate(); }