Пример #1
0
        public void GetNonExistingLandlordData()
        {
            CtrLandlord ctrLandlordObj = new CtrLandlord();
            MdlLandlord mdlLandlordObj = ctrLandlordObj.GetLandlordData("*****@*****.**");

            Assert.IsNull(mdlLandlordObj.ContactPerson);
        }
Пример #2
0
        public MdlLandlord GetLandlordData(string email)
        {
            ctrLandlordObj = new CtrLandlord();

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

            return(ctrLandlordObj.GetLandlordData(email));
        }
Пример #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);
        }