toArray())->toMatchArray([ 'valid' => true, 'discount_amount' => 5.0, 'discount_type' => 'fixed', ])->and($proration->netAmount())->toBe(15.0); }); it('provides Stripe and BTCPay RFC gateway implementations', function (): void { expect(is_subclass_of(StripeGateway::class, PaymentGatewayContract::class))->toBeTrue() ->and(is_subclass_of(BTCPayGateway::class, PaymentGatewayContract::class))->toBeTrue(); });