@Test
public void testGetProperty_withType_enumDefaultsToFirstDeclaredValue() {

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