TEST(ApplicationsModelTest, DoLicensesNeedToBeAccepted_Accepted) { CreateApplicationModelObject; ActionHasLicense actionHasLicense; actionHasLicense.SetStatus(Selected); actions.push_back((Action *)&actionHasLicense); EXPECT_TRUE(applicationModel.DoLicensesNeedToBeAccepted()); }
TEST(ApplicationsModelTest, DoLicensesNeedToBeAccepted_GetManualSteps_No) { CreateApplicationModelObject; ActionHasLicense actionHasLicense; actionHasLicense.SetStatus(Selected); actions.push_back((Action *)&actionHasLicense); vector <wstring> steps = applicationModel.GetManualSteps(); EXPECT_THAT(0, steps.size()); }