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); }
public void LoadAllFoods_NullCheck() { var result = _lipaConector_NullCheck.LoadAllFoods(); Assert.Empty(result); }
public void LoadAllFoods_EmptyResponce() { var result = _lipaConector_EmptyCheck.LoadAllFoods(); Assert.Empty(result); }