Esempio n. 1
0
        public void LoadAllFoods()
        {
            var result = _teglasConector.LoadAllFoods();
            var food   = result.First();

            Assert.NotEmpty(result);
            Assert.Equal("Test food 1", food.Name);
            Assert.Equal("Description 1", food.Description);
            Assert.Equal(100, food.Price);
            Assert.Equal(DomainModel.FoodType.MAIN_COURSE, food.Type);
        }
Esempio n. 2
0
        public void LoadAllFoods_EmptyResponce()
        {
            var result = _teglasConector_EmptyCheck.LoadAllFoods();

            Assert.Empty(result);
        }