function it_provides_configuration(CharsetValidator $charsetValidator) { $charsetValidator->getConfiguration()->willReturn(['withHeader' => true, 'enclosure' => ';']); $this->setCharsetValidator($charsetValidator); $this->getConfiguration()->shouldReturn(['withHeader' => true, 'enclosure' => ';']); }