/**
  * @param string $countryCode
  * @param string $xml
  * @param string $expected
  * @dataProvider dataProviderReadOtherCountryConfig
  */
 public function testReadOtherCountryConfig($countryCode, $xml, $expected)
 {
     $this->helper->expects($this->once())->method('getConfigurationCountryCode')->willReturn($countryCode);
     $this->fileResolver->expects($this->at(0))->method('get')->willReturn([]);
     $this->fileResolver->expects($this->at(1))->method('get')->with($this->equalTo($expected))->willReturn($xml);
     $this->reader = new Reader($this->fileResolver, $this->converter, $this->schemaLocator, $this->validationState, $this->helper);
     $this->reader->read();
 }
 /**
  * Prepare helper for test
  *
  * @param string $countryCode
  */
 private function _getElementByPathPartsPrepareHelper($countryCode)
 {
     $this->_helper->expects($this->once())->method('getConfigurationCountryCode')->will($this->returnValue($countryCode));
 }