### Question:
StreamComparison implements Comparison { @Override public StreamPredicateBuilder greaterThan(Object o) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } StreamComparison(StreamPredicateBuilder pb); StreamComparison get(Attribute.Name name); @Override StreamPredicateBuilder equalTo(Object value); @Override StreamPredicateBuilder notEqualTo(Object o); @Override StreamPredicateBuilder greaterThan(Object o); @Override StreamPredicateBuilder lessThan(Object o);  }### Answer:
@Test public void testStreamComparisonGreaterThan(){ try{ StreamPredicateBuilder pb = new StreamPredicateBuilder(); StreamComparison streamComparison = new StreamComparison(pb ); Object o = null; streamComparison.greaterThan(o); }catch(Exception e){ assertTrue(e instanceof UnsupportedOperationException); } }