@Test
public void testGetProperty_withType_intDefaultsTo0() {

  Ingredient ingredient = new Ingredient("TestIngredient", "A") {};
  int value = ingredient.getProperty(int.class, "foo");
  assertEquals(0, value);
}