public void UpgradeMembership() { try { var membershipResult = _membershipActions.UpgradeMembership() ? "Membership Upgraded" : "Error in upgradation membership"; Console.WriteLine(membershipResult); } catch (Exception e) { Console.WriteLine(e.Message); throw; } }
public void UpgradeMembershipWhenUpgradeMembershipCalled() { var result = _membershipActions.UpgradeMembership(); result.Should().BeTrue(); }