### Question:
AllOrNoneValueSet implements ValueSet { @Override public boolean containsValue(Object value) { requireNonNull(value, "value is null"); Class<?> expectedClass = Primitives.wrap(type.getJavaType()); if (!expectedClass.isInstance(value)) { throw new IllegalArgumentException(format("Value class %s does not match required class %s", value.getClass().getName(), expectedClass.getName())); } return all; } @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 testContainsValue() { assertTrue(AllOrNoneValueSet.all(BIGINT).containsValue(42L)); assertFalse(AllOrNoneValueSet.none(BIGINT).containsValue(42L)); }