if(!Feature::isActive('v6.6.0.0')){ static::expectException(UnknownRefundException::class); } static::expectException(PaymentException::class); static::expectExceptionMessage('The Refund process failed with following exception: Unknown refund with id ' . $this->ids->get('refund') . '.');