### Question:
PrestoThriftAllOrNoneValueSet { @ThriftField(1) public boolean isAll() { return all; } @ThriftConstructor  PrestoThriftAllOrNoneValueSet(boolean all); @ThriftField(1) boolean isAll(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static PrestoThriftAllOrNoneValueSet fromAllOrNoneValueSet(AllOrNoneValueSet valueSet);  }### Answer:
@Test public void testFromValueSetAll() { PrestoThriftValueSet thriftValueSet = fromValueSet(ValueSet.all(HYPER_LOG_LOG)); assertNotNull(thriftValueSet.getAllOrNoneValueSet()); assertTrue(thriftValueSet.getAllOrNoneValueSet().isAll()); }
@Test public void testFromValueSetNone() { PrestoThriftValueSet thriftValueSet = fromValueSet(ValueSet.none(HYPER_LOG_LOG)); assertNotNull(thriftValueSet.getAllOrNoneValueSet()); assertFalse(thriftValueSet.getAllOrNoneValueSet().isAll()); }