function it_throws_exception_when_adding_unavailable_product() { $this->shouldThrow(ProductNotAvailableException::class)->during('add', [new Product(new SKU("DUMPLIE_SKU_1"), Price::PLN(100), false), 1]); }
function it_throws_exception_when_adding_to_price_with_a_different_currency() { $this->beConstructedThrough('fromInt', [100, 'EUR']); $this->shouldThrow(InvalidCurrencyException::class)->during('add', [Price::PLN(100)]); }