Package com.streambase.sb.unittest
Interface Expecter.Predicate
-
- All Known Implementing Classes:
Expecter.AbstractPredicate
- Enclosing class:
- Expecter
public static interface Expecter.Predicate
To expect tuples by predicate, implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isExpected(Tuple t)
-
-
-
Method Detail
-
isExpected
boolean isExpected(Tuple t) throws StreamBaseException
- Parameters:
t
- theTuple
to introspect- Returns:
- true if t is expected. Otherwise, return false.
- Throws:
StreamBaseException
- Error detected
-
-