ItemBlueprint example

static::assertEquals($vertical$amount->getCalculatedTaxes());
    }

    /** * @return array<array{0: ItemBlueprint[], 1: CalculatedTaxCollection, 2: CalculatedTaxCollection}> */
    public static function calculationProvider()
    {
        return [
            [
                [
                    new ItemBlueprint(1.43, 1, 19),
                    new ItemBlueprint(1.43, 1, 19),
                    new ItemBlueprint(1.43, 1, 19),
                ],
                new CalculatedTaxCollection([new CalculatedTax(0.69, 19, 4.29)]),
                new CalculatedTaxCollection([new CalculatedTax(0.68, 19, 4.29)]),
            ],
            [
                [
                    new ItemBlueprint(19.99, 1, 19),
                    new ItemBlueprint(19.99, 1, 19),
                    new ItemBlueprint(19.99, 1, 19),
                ],
Home | Imprint | This part of the site doesn't use cookies.