Esempio n. 1
0
        public void Get_A_Single_Location()
        {
            TemplateDTO template = TemplateDalContainer.GetATemplateById(3, "Location");

            Assert.AreEqual(3, template.LocationId, "Id is does not match with the records id");
            Assert.AreEqual("The Kitchen", template.Name, "Name does not match  with the records name");
            Assert.AreEqual(1, template.AreaId, "Area id does not match with the records Area id");
        }