예제 #1
0
        public void LoadAllFoods()
        {
            var result = _lipaConector.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);
        }
예제 #2
0
        public void LoadAllFoods_NullCheck()
        {
            var result = _lipaConector_NullCheck.LoadAllFoods();

            Assert.Empty(result);
        }
예제 #3
0
        public void LoadAllFoods_EmptyResponce()
        {
            var result = _lipaConector_EmptyCheck.LoadAllFoods();

            Assert.Empty(result);
        }