@Test
public void testLoad_doesNotThrowOnIngredientRequiredVarargParamLastParamInInitializer() {

  String yaml =
      String.join(
          "\n",
          "domain: 'test'",
          "ingredients:",
          "  - name: 'ingredient'",
          "    required:",
          "      - name: 'param1'",
          "        type: 'string...'",
          "      - name: 'param2'",
          "        type: 'int'",
          "    initializers:",
          "      - params: ['param2', 'param1']");
  loader.load(toStream(yaml));
}