function it_has_immutable_currency() { $this->beConstructedWith(10000, 'EUR', 100); $this->hasCurrency('EUR')->shouldReturn(true); $this->hasCurrency('eur')->shouldReturn(true); $this->hasCurrency('PLN')->shouldReturn(false); }