Package com.streambase.sb.unittest
Class Expecter.AbstractPredicate
- java.lang.Object
-
- com.streambase.sb.unittest.Expecter.AbstractPredicate
-
- All Implemented Interfaces:
Expecter.Predicate
- Enclosing class:
- Expecter
public abstract static class Expecter.AbstractPredicate extends Object implements Expecter.Predicate
Subclass this and override isExpected(Tuple t) to simplify creating predicates.
-
-
Constructor Summary
Constructors Constructor Description AbstractPredicate()
-
-
-
Method Detail
-
isExpected
public abstract boolean isExpected(Tuple t) throws StreamBaseException
- Specified by:
isExpected
in interfaceExpecter.Predicate
- Parameters:
t
-Tuple
to introspect- Returns:
- true iff t is expected.
- Throws:
StreamBaseException
- Error detected
-
-