public void SelectInstallmentType_Weekly() { InstallmentTypeManager installmentTypeManager = (InstallmentTypeManager)container["InstallmentTypeManager"]; InstallmentType selectedInstallmentType = installmentTypeManager.SelectInstallmentType(2); _AssertInstallmentType(selectedInstallmentType, 2, "weekly", 7, 0); }
public void SelectInstallmentType_Monthly() { InstallmentTypeManager installmentTypeManager = (InstallmentTypeManager)container["InstallmentTypeManager"]; InstallmentType selectedInstallmentType = installmentTypeManager.SelectInstallmentType(1); _AssertInstallmentType(selectedInstallmentType, 1, "monthly", 0, 1); }
public InstallmentType FindInstallmentType(int pId) { return(_installmentTypeManager.SelectInstallmentType(pId)); }