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 and Description
    --- | ---
    `boolean` | `isExpected(Tuple t)`

- - ### Method Detail

    - #### isExpected

          boolean isExpected(Tuple t)
                      throws StreamBaseException

      Parameters:
        `t` - the `Tuple` to introspect
      Returns:
        true if t is expected. Otherwise, return false.
      Throws:
        `StreamBaseException` - Error detected

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.