EqualityFilter

public final class EqualityFilter<T extends Object>(source)

A filter, which succeeds when the given value is expectedValue, fails otherwise, and never skips.

Parameters

T

The type the filter accepts

expectedValue

The value the filter should succeed for

Constructors

Link copied to clipboard
public EqualityFilter<T> EqualityFilter<T extends Any>(T expectedValue)

Functions

Link copied to clipboard
public <Error class: unknown class><? extends Unit> evaluate(T value)
Link copied to clipboard
public String toString()