### Question:
Options extends AbstractSet<OptionEntry> implements Cloneable, Serializable { @Override public boolean isEmpty() { return (list.size() == 0); } Options();  Options(Options other);  Options(OptionEntry [] entries);  Options(Class<?> enumType); @Override Options clone(); OptionEntry getEntry(Object value); String get(Object value); boolean isActive(Object value); Object getValueAt(int i); String getTextAt(int i); Set<Object> getValues(); void set(Object value, String text, boolean active, InsertPos pos); void set(Object value, String text, InsertPos pos); void set(Object value, String text); void add(Object value, String text, boolean active); @Override boolean add(OptionEntry option); @Override void clear(); @Override boolean contains(Object value); boolean containsNull(); boolean exists(Object value); @Override boolean isEmpty(); @Override Iterator<OptionEntry> iterator(); @Override boolean remove(Object value); @Override int size(); @Override Object[] toArray(); @Override String toString(); void addXml(Element element, long flags);  }### Answer:
@Test public void testIsEmpty() { Options options = new Options(); assertTrue(options.isEmpty()); options.add(new Object(), "text", true); assertFalse(options.isEmpty()); }