@Test(expected = IllegalArgumentException.class)
public void testSetCompoundOptional_throwsOnNonKeyNotAString() {

  Ingredient ingredient = new Ingredient("TestIngredient", "A") {};
  ingredient.setCompoundOptional("optional", false, "a", 1, 2, "foo");
}