### Question:
AllOrNoneValueSet implements ValueSet { static AllOrNoneValueSet none(Type type) { return new AllOrNoneValueSet(type, false); } @JsonCreator  AllOrNoneValueSet(@JsonProperty("type") Type type, @JsonProperty("all") boolean all); @Override @JsonProperty Type getType(); @Override boolean isNone(); @Override @JsonProperty boolean isAll(); @Override boolean isSingleValue(); @Override Object getSingleValue(); @Override boolean isDiscreteSet(); @Override List<Object> getDiscreteSet(); @Override boolean containsValue(Object value); AllOrNone getAllOrNone(); @Override ValuesProcessor getValuesProcessor(); @Override ValueSet intersect(ValueSet other); @Override ValueSet union(ValueSet other); @Override ValueSet complement(); @Override String toString(); @Override String toString(ConnectorSession session); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testNone() { AllOrNoneValueSet valueSet = AllOrNoneValueSet.none(HYPER_LOG_LOG); assertEquals(valueSet.getType(), HYPER_LOG_LOG); assertTrue(valueSet.isNone()); assertFalse(valueSet.isAll()); assertFalse(valueSet.isSingleValue()); assertFalse(valueSet.containsValue(Slices.EMPTY_SLICE)); try { valueSet.getSingleValue(); fail(); } catch (Exception ignored) { } }