@Test
public void testLoad_ingredientUnspecifiedFieldsGetDefaultValues() {

  String ingredients =
      String.join("\n", "domain: 'test'", "ingredients:", "  - name: 'fooIngredient'");
  Cookbook cookbook = loader.load(toStream(ingredients));
  assertFalse(cookbook.getIngredients().get(0).isKeyed());
  assertEquals(0, cookbook.getIngredients().get(0).getRequired().size());
  assertEquals(0, cookbook.getIngredients().get(0).getInitializers().size());
  assertEquals(0, cookbook.getIngredients().get(0).getOptionals().size());
}