Class TestVerb
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractVerb
AbstractVerb.DelegatedVerb<S,T>, AbstractVerb.MessagePrependingFailureStrategy -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestVerb(FailureStrategy failureStrategy) TestVerb(FailureStrategy failureStrategy, String failureMessage) -
Method Summary
Modifier and TypeMethodDescriptionthat(boolean[] target) that(byte[] target) that(char[] target) that(double[] target) that(float[] target) that(int[] target) that(long[] target) <T> OptionalSubject<T> that(com.google.common.base.Optional<T> target) <T, C extends Iterable<T>>
IterableSubject<? extends IterableSubject<?, T, C>, T, C> <T, C extends Collection<T>>
CollectionSubject<? extends CollectionSubject<?, T, C>, T, C> that(Collection<T> target) <T, C extends List<T>>
ListSubject<? extends ListSubject<?, T, C>, T, C> <K, V, M extends Map<K,V>>
MapSubject<? extends MapSubject<?, K, V, M>, K, V, M> <T extends Comparable<?>>
ComparableSubject<?, T> that(T target) <T> ObjectArraySubject<T> that(T[] target) withFailureMessage(String failureMessage) Overrides the failure message of the subsequent subject's propositions.Methods inherited from class AbstractVerb
about, fail, fail, getFailureStrategy, in
-
Field Details
-
failureMessage
-
-
Constructor Details
-
TestVerb
-
TestVerb
-
-
Method Details
-
that
-
that
-
that
-
that
-
that
-
that
-
that
-
that
@CheckReturnValue public <T, C extends Iterable<T>> IterableSubject<? extends IterableSubject<?,T, thatC>, T, C> (Iterable<T> target) -
that
@CheckReturnValue public <T, C extends Collection<T>> CollectionSubject<? extends CollectionSubject<?,T, thatC>, T, C> (Collection<T> target) -
that
@CheckReturnValue public <T, C extends List<T>> ListSubject<? extends ListSubject<?,T, thatC>, T, C> (List<T> target) -
that
-
that
-
that
-
that
-
that
-
that
-
that
-
that
-
that
-
that
@CheckReturnValue public <K, V, M extends Map<K,V>> MapSubject<? extends MapSubject<?,K, thatV, M>, K, V, M> (Map<K, V> target) -
withFailureMessage
Description copied from class:AbstractVerbOverrides the failure message of the subsequent subject's propositions.- Specified by:
withFailureMessagein classAbstractVerb<TestVerb>- See Also:
-
getFailureMessage
- Specified by:
getFailureMessagein classAbstractVerb<TestVerb>
-