/** @test */ public function should_return_the_currency() { $this->assertEquals(new Currency('EUR'), $this->jurisdiction->currency()); }
/** * Create a new Basket * * @param Jurisdiction $jurisdiction * @return void */ public function __construct(Jurisdiction $jurisdiction) { $this->rate = $jurisdiction->rate(); $this->currency = $jurisdiction->currency(); $this->products = new Collection(); }