return result;
}
@Test
public void effect() throws ReflectiveOperationException {
PotionEffectTypeWrapper wrapper = (PotionEffectTypeWrapper) field.get(null);
GlowPotionEffect effect = (GlowPotionEffect) wrapper.getType();
assertNotNull("missing potion effect for " + field.getName(), effect);
assertEquals("wrong name on wrapped effect", field.getName(), effect.getName());
assertEquals("missing from byName", effect, PotionEffectType.getByName(effect.getName()));
assertEquals("missing from byId", effect, PotionEffectType.getById(effect.getId()));
assertTrue("non-positive duration amplifier for " + effect, effect.getDurationModifier() > 0);