### Question:
Domain { public static Domain singleValue(Type type, Object value) { return new Domain(ValueSet.of(type, value), false); } private  Domain(ValueSet values, boolean nullAllowed); @JsonCreator static Domain create(
            @JsonProperty("values") ValueSet values,
            @JsonProperty("nullAllowed") boolean nullAllowed); static Domain none(Type type); static Domain all(Type type); static Domain onlyNull(Type type); static Domain notNull(Type type); static Domain singleValue(Type type, Object value); static Domain multipleValues(Type type, List<?> values); Type getType(); @JsonProperty ValueSet getValues(); @JsonProperty boolean isNullAllowed(); boolean isNone(); boolean isAll(); boolean isSingleValue(); boolean isNullableSingleValue(); boolean isOnlyNull(); Object getSingleValue(); Object getNullableSingleValue(); boolean includesNullableValue(Object value); boolean overlaps(Domain other); boolean contains(Domain other); Domain intersect(Domain other); Domain union(Domain other); static Domain union(List<Domain> domains); Domain complement(); Domain subtract(Domain other); @Override int hashCode(); @Override boolean equals(Object obj); Domain simplify(); Domain simplify(int threshold); @Override String toString(); String toString(ConnectorSession session); static final int DEFAULT_COMPACTION_THRESHOLD; }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void testUncomparableSingleValue() { Domain.singleValue(HYPER_LOG_LOG, Slices.EMPTY_SLICE); }