Esempio n. 1
0
        public void GetNonExistingLandlordData()
        {
            CtrLandlord ctrLandlordObj = new CtrLandlord();
            MdlLandlord mdlLandlordObj = ctrLandlordObj.GetLandlordData("*****@*****.**");

            Assert.IsNull(mdlLandlordObj.ContactPerson);
        }
Esempio n. 2
0
        public MdlLandlord GetLandlordData(string email)
        {
            ctrLandlordObj = new CtrLandlord();

            Console.WriteLine();
            Console.WriteLine("GetLandlordData() " + GetExecutionThreadTime());

            return(ctrLandlordObj.GetLandlordData(email));
        }
Esempio n. 3
0
        public void GetLandlordData()
        {
            string      expected = "contactPerson";
            string      actual;
            CtrLandlord ctrLandlordObj = new CtrLandlord();

            MdlLandlord mdlLandlordObj = ctrLandlordObj.GetLandlordData("*****@*****.**");

            actual = mdlLandlordObj.ContactPerson.Trim();

            Assert.AreEqual(expected, actual);
        }