public void ConstructEnterprisePlan__ReturnsCorrectPlanFields() { var plan = new EnterprisePlan(); Assert.Equal(1000, plan.MaxNumberOfUsersAllowed); Assert.Equal(1000.00F, plan.PricePerMonth); }
public FeaturePlanSteps() { featurePlan = new FeaturePlan(driver); enterprisePlan = new EnterprisePlan(driver); basicPlanSigin = new BasicPlanSigin(driver); proplan = new Proplan(driver); freePlan = new FreePlan(driver); }
private static Account GetAccount(Guid userId) { var planType = new EnterprisePlan(); var account = new Account(planType); account.RegisterUser(userId); return(account); }
public MultipleJobUrlSteps() { multipleJobUrl = new MultipleJobUrl(driver); // loginPage = new Loginpage(driver); basicPlanSigin = new BasicPlanSigin(driver); proplan = new Proplan(driver); featurePlan = new FeaturePlan(driver); enterprisePlan = new EnterprisePlan(driver); freePlan = new FreePlan(driver); }
private static PlanType GetPlanFrom(DbAccount dbAccount) { PlanType plan; if (dbAccount.Plan == Plan.Startup) { plan = new StartupPlan(); } else { plan = new EnterprisePlan(); } return(plan); }
private static PlanType GetPlanTypeFrom(CreateAccountRequest request) { PlanType plan = null; switch (request.Plan) { case Plan.Startup: plan = new StartupPlan(); break; case Plan.Enterprise: plan = new EnterprisePlan(); break; } return(plan); }
public EnterpisePlanSteps() { enterprisePlan = new EnterprisePlan(driver); }