@Test
public void testLoad_optionalRepeatableDefaultsToFalse() {

  String ingredients =
      String.join(
          "\n",
          "domain: 'test'",
          "ingredients:",
          "  - name: 'fooIngredient'",
          "    optionals:",
          "      - name: 'optional'",
          "        type: 'string'");
  Cookbook cookbook = loader.load(toStream(ingredients));
  assertFalse(cookbook.getIngredients().get(0).getOptionals().get(0).isRepeatable());
}