### Question:
DiscreteDistributionStrategy implements DistributionStrategies<T> { public T toCrispValue(Distribution<T> dist) { return ((DiscreteDistribution<T>) dist).getBest(); } DiscreteDistributionStrategy(DegreeType degreeType, Class<T> domainType); Distribution<T> merge(Distribution<T> current,
                                  Distribution<T> newBit); Distribution<T> merge(Distribution<T> current,
			Distribution<T> newBit, String strategy); Distribution<T> merge(Distribution<T> current,
			Distribution<T> newBit, Object... params); Distribution<T> mergeAsNew(Distribution<T> current,
			Distribution<T> newBit); Distribution<T> mergeAsNew(Distribution<T> current,
			Distribution<T> newBit, String strategy); Distribution<T> mergeAsNew(Distribution<T> current,
			Distribution<T> newBit, Object... params); Distribution<T> remove(Distribution<T> current, Distribution<T> newBit); Distribution<T> remove(Distribution<T> current, Distribution<T> newBit, String strategy); Distribution<T> remove(Distribution<T> current, Distribution<T> newBit, Object... params); Distribution<T> removeAsNew(Distribution<T> current, Distribution<T> newBit); Distribution<T> removeAsNew(Distribution<T> current, Distribution<T> newBit, String strategy); Distribution<T> removeAsNew(Distribution<T> current, Distribution<T> newBit, Object... params); void normalize(Distribution<T> distr); Distribution<T> newDistribution(); Distribution<T> newDistribution(Set<T> focalElements); Distribution<T> newDistribution(Map<? extends T, ? extends Degree> elements); T toCrispValue(Distribution<T> dist); T toCrispValue(Distribution<T> dist, String strategy); T toCrispValue(Distribution<T> dist, Object... params); T sample(Distribution<T> dist); T sample(Distribution<T> dist, String strategy); T sample(Distribution<T> dist, Object... params); Distribution<T> toDistribution(T value); Distribution<T> toDistribution(T value, String strategy); Distribution<T> toDistribution(T value, Object... params); Distribution<T> parse(String distrAsString);  }### Answer:
@Test public void testToCrispValue() throws Exception { sortMapDistrCurr.put("one", new SimpleDegree(0.2)); sortMapDistrCurr.put("two", new SimpleDegree(0.5)); sortMapDistrCurr.put("three", new SimpleDegree(0.3)); assertEquals("two",DisDisStrategy.toCrispValue(sortMapDistrCurr)); }