@Test(expected = RuntimeException.class)
public void testLoad_throwsOnDuplicateIngredientNames() {

  String ingredients =
      String.join(
          "\n",
          "domain: 'test'",
          "ingredients:",
          "  - name: 'fooIngredient'",
          "  - name: 'fooIngredient'");
  loader.load(toStream(ingredients));
}