### Question:
Negation extends ERE { @Override public boolean containsEpsilon() { return !(children.get(0).containsEpsilon()); } private  Negation(ERE child); static ERE get(ERE child); @Override EREType getEREType(); @Override String toString(); @Override ERE copy(); @Override boolean containsEpsilon(); @Override ERE derive(Symbol s);  }### Answer:
@Test public void testContainsEpsilon() { ERE negateEmpty = Negation.get(empty); ERE negateEpsilon = Negation.get(epsilon); assertTrue(negateEmpty.containsEpsilon()); assertFalse(negateEpsilon.containsEpsilon()); }