### Question:
ModifyBeanPropertyEdit extends AbstractUndoableEdit { @Override public void die() { bean = null; propertyName = null; oldValue = null; newValue = null; setter = null; super.die(); } ModifyBeanPropertyEdit(Class<T> clazz, Object bean, String propertyName, T oldValue, T newValue); @Override void die(); @Override void redo(); @Override void undo(); static void showNoSetterError(final JComponent parent, final String propertyName, final Object bean);  }### Answer:
@Test public void testDie() throws NoSuchMethodException { System.out.println("die"); ABean bean = new ABean("123", 123, false); ModifyBeanPropertyEdit instance = new ModifyBeanPropertyEdit<>(Integer.class, bean, "intProp", 123, 321); instance.die(); }