Elcodi\Plugin\CustomShippingBundle\Tests\UnitTest\Provider\ShippingRangesProviderTest::getCurrency PHP Method

getCurrency() private method

Get currency
private getCurrency ( ) : Elcodi\Component\Currency\Entity\Currency
return Elcodi\Component\Currency\Entity\Currency Currency
    private function getCurrency()
    {
        $currency = new Currency();
        $currency->setIso('EUR')->setSymbol("€")->getName("Euro");
        return $currency;
    }