Example #1
0
        public void GetAllRestaurants_WithValidInput_ReturnsNotNullableObject()
        {
            InterpreterContext interpreterContext = new InterpreterContext();
            var restaurantList = interpreterContext.GetAllRestaurants();

            Assert.IsNotNull(restaurantList);
        }
Example #2
0
        public void GetAllRestaurants_WithValidInput_ReturnsExpectedObject()
        {
            InterpreterContext interpreterContext = new InterpreterContext();
            var restaurantList = interpreterContext.GetAllRestaurants();

            Assert.IsInstanceOf(typeof(List <RestaurantModel>), restaurantList);
        }