    @Test
    public void shouldGetIngredientTypeByIngredientId() throws Exception {

        // given
        IngredientType ingredientType = new IngredientType();
        Long ingredientId = 42L;
        Ingredient ingredient = new Ingredient();
        ingredient.setId(ingredientId);
        ingredient.setIngredientType(ingredientType);

        when(ingredientDAO.findById(ingredientId)).thenReturn(Optional.of(ingredient));

        // when
        IngredientType result = orderService.getIngredientTypeByIngredientId(ingredientId);

        // then
        assertThat(result).isSameAs(ingredientType);
    }