### Question:
IntervalDegree implements Degree { public double getUpp() { return 1.0 - getPhi(); } IntervalDegree();  IntervalDegree(double low, double upp); SimpleDegree asSimpleDegree(); double getValue(); void setValue(double d); boolean toBoolean(); String toString(); double getPhi(); double getTau(); double getLow(); double getUpp(); int hashCode(); boolean equals(Object obj); double getConfidence(); IntervalDegree asIntervalDegree(); boolean isComparableTo(Degree o); int compareTo(Degree o); Degree False(); Degree True(); Degree Unknown(); Degree sum(Degree other); Degree mul(Degree other); Degree div(Degree other); Degree sub(Degree other); Degree max(Degree other); Degree min(Degree other); Degree fromConst(double number); Degree fromString(String val); Degree fromBoolean( boolean val ); static Degree fromBooleanLiteral( boolean val ); static final Degree TRUE; static final Degree FALSE; static final Degree UNKNOWN; }### Answer:
@Test public void testGetUpp() throws Exception { IntervalDegree x = new IntervalDegree(0.35,0.8); assertEquals(0.8,x.getUpp()); }