public void Create_OverridePlanRemoveTrial()
{
TestPlan plan = PlanFixture.PLAN_WITH_TRIAL;
SubscriptionRequest request = new SubscriptionRequest
{
PaymentMethodToken = creditCard.Token,
PlanId = plan.Id,
HasTrialPeriod = false
};
Result<Subscription> result = gateway.Subscription.Create(request);
Assert.IsTrue(result.IsSuccess());
Subscription subscription = result.Target;
Assert.IsFalse(subscription.HasTrialPeriod.Value);
}