Example #1
0
        public void Membershiptest()
        {
            PraveenBamane_Assignment.RuleBase _obj = new PraveenBamane_Assignment.RuleBase();

            var returntype = _obj.GenerateMember("*****@*****.**");

            Assert.IsNotNull(returntype.Membershipid);
            Assert.Pass();
        }
Example #2
0
        public void UpdateMembershiptest()
        {
            PraveenBamane_Assignment.RuleBase _obj = new PraveenBamane_Assignment.RuleBase();

            Membership _member = new Membership();

            var returntype = _obj.GenerateMember(_member, 3);

            Assert.AreEqual(3, returntype.Membershiplevel);  // match the passed upgraded level with returned level
            Assert.Pass();
        }