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

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

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

            return(ctrLandlordObj.GetLandlordData(email));
        }
Exemplo 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);
        }