function it_build_parameters_for_optional_and_required_ingredients()
 {
     $criteria = new Criteria(0, false);
     $criteria->mayContainIngredients(['vodka']);
     $criteria->mustContainIngredients(['orange juice']);
     $this->createParameters($criteria)->shouldReturn(['index' => ElasticSearch::INDEX, 'type' => 'recipe', 'body' => ['from' => 0, 'size' => 10, 'query' => ['filtered' => ['filter' => ['and' => [['terms' => ['steps.name' => ['orange juice']]]], 'or' => [['terms' => ['steps.name' => ['vodka']]]]]]]]]);
 }