/**
  * @dataProvider canUseForCountryNotAllowSpecificDataProvider
  */
 public function testCanUseForCountryNotAllowSpecific($isRestricted, $expected)
 {
     $countryId = 'non-existing';
     $prefix = 'payment/braintree/';
     $this->scopeConfigMock->expects($this->at(0))->method('getValue')->with($prefix . Config::KEY_ALLOW_SPECIFIC, \Magento\Store\Model\ScopeInterface::SCOPE_STORE, null)->willReturn(0);
     $this->sourceCountryMock->expects($this->once())->method('isCountryRestricted')->with($countryId)->willReturn($isRestricted);
     $this->assertEquals($expected, $this->model->canUseForCountry($countryId));
 }