@Test
public void testGetProperty_withType_floatDefaultsTo0() {

  Ingredient ingredient = new Ingredient("TestIngredient", "A") {};
  float value = ingredient.getProperty(float.class, "foo");
  assertEquals(0.0f, value, 0.0);
}