@Test public void testStreamComparisonNotEqualToThan(){ try{ StreamPredicateBuilder pb = new StreamPredicateBuilder(); StreamComparison streamComparison = new StreamComparison(pb ); Object o = null; streamComparison.notEqualTo(o); }catch(Exception e){ assertTrue(e instanceof UnsupportedOperationException); } }
@Override public StreamPredicateBuilder notEqualTo(Object o) throws UnsupportedOperationException { throw new UnsupportedOperationException(); }
StreamComparison implements Comparison { @Override public StreamPredicateBuilder notEqualTo(Object o) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } }
StreamComparison implements Comparison { @Override public StreamPredicateBuilder notEqualTo(Object o) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } StreamComparison(StreamPredicateBuilder pb); }
StreamComparison implements Comparison { @Override public StreamPredicateBuilder notEqualTo(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); }
StreamComparison implements Comparison { @Override public StreamPredicateBuilder notEqualTo(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);  }