public interface ProcFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>> extends org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value,BaseFluent,TheFluent,This>, ObjectFluent<Value,BaseFluent,TheFluent,This>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProcFluent.AndChain<Value extends org.cthul.proc.Proc,TheFluent,This extends ProcFluent.AndChain<Value,TheFluent,This>> |
static class |
ProcFluent.Assert<Value extends org.cthul.proc.Proc> |
static interface |
ProcFluent.OrChain<Value extends org.cthul.proc.Proc,TheFluent,This extends ProcFluent.OrChain<Value,TheFluent,This>> |
static class |
ProcFluent.Step<Value extends org.cthul.proc.Proc,TheFluent,This extends ProcFluent.Step<Value,TheFluent,This>> |
| Modifier and Type | Method and Description |
|---|---|
ProcFluent.AndChain<Value,TheFluent,?> |
all() |
ProcFluent.AndChain<Value,TheFluent,?> |
both() |
ProcFluent.AndChain<Value,TheFluent,?> |
both(org.hamcrest.Matcher<? super Value> matcher) |
ProcFluent.OrChain<Value,TheFluent,?> |
either() |
ProcFluent.OrChain<Value,TheFluent,?> |
either(org.hamcrest.Matcher<? super Value> matcher) |
default TheFluent |
hasResult()
Does the proc complete without throwing an exception?
|
default TheFluent |
raises(Class<? extends Throwable> clazz)
Does the proc raise a throwable that satisfies the condition?
|
default TheFluent |
raises(Class<? extends Throwable> clazz,
org.hamcrest.Matcher<? super Throwable> matcher)
Does the proc raise a throwable that satisfies the condition?
|
default TheFluent |
raises(Class<? extends Throwable> clazz,
String regex)
Does the proc raise a throwable that satisfies the condition?
|
default TheFluent |
raises(org.hamcrest.Matcher<? super Throwable> throwableMatcher)
Does the proc raise a throwable that satisfies the condition?
|
default TheFluent |
raises(String regex)
Does the proc raise a throwable that satisfies the condition?
|
default TheFluent |
raisesException()
Does the proc throw an exception?
|
default TheFluent |
raisesException(Class<? extends Exception> clazz)
Does the proc raise an exception that satisfies the condition?
|
default TheFluent |
raisesException(Class<? extends Exception> clazz,
String regex)
Does the proc raise an exception that satisfies the condition?
|
default TheFluent |
raisesException(org.hamcrest.Matcher<? super Exception> matcher)
Does the proc raise an exception that satisfies the condition?
|
default TheFluent |
raisesException(String regex)
Does the proc raise an exception that satisfies the condition?
|
default TheFluent |
result(org.hamcrest.Matcher<?> resultMatcher)
Does the proc return a value that satisfies the condition?
|
default TheFluent |
result(Object value)
Does the proc return a value equal to
value? |
default TheFluent |
returns()
Does the proc complete without throwing an exception?
|
default TheFluent |
returns(org.hamcrest.Matcher<?> resultMatcher)
Does the proc return a value that satisfies the condition?
|
default TheFluent |
returns(Object value)
Does the proc return a value equal to
value? |
get, get, hasToString, hasToString, isIn, isIn, isOneOf, notNullValue, nullValue, sameInstance, theInstance__, __, __, allOf, anyOf, as, as, equalTo, has, has, has, has, hasNot, hasNot, hasNot, hasNot, hasType, is, is, is, isA, isNot, isNot, isNot, noneOf, not, not, not, not, notdefault TheFluent raises(org.hamcrest.Matcher<? super Throwable> throwableMatcher)
throwableMatcher - Raises.raises(org.hamcrest.Matcher)default TheFluent raises(Class<? extends Throwable> clazz)
clazz - Raises.raises(java.lang.Class)default TheFluent raises(String regex)
regex - Raises.raises(java.lang.String)default TheFluent raises(Class<? extends Throwable> clazz, String regex)
clazz - regex - Raises.raises(java.lang.Class,java.lang.String)default TheFluent raises(Class<? extends Throwable> clazz, org.hamcrest.Matcher<? super Throwable> matcher)
clazz - matcher - Raises.raises(java.lang.Class,org.hamcrest.Matcher)default TheFluent raisesException()
Raises.raisesException()default TheFluent raisesException(org.hamcrest.Matcher<? super Exception> matcher)
matcher - Raises.raisesException(org.hamcrest.Matcher)default TheFluent raisesException(Class<? extends Exception> clazz)
clazz - Raises.raisesException(java.lang.Class)default TheFluent raisesException(String regex)
regex - Raises.raisesException(java.lang.String)default TheFluent raisesException(Class<? extends Exception> clazz, String regex)
clazz - regex - Raises.raisesException(java.lang.Class,java.lang.String)default TheFluent result(Object value)
value?value - Returns.result(java.lang.Object)default TheFluent result(org.hamcrest.Matcher<?> resultMatcher)
resultMatcher - Returns.result(org.hamcrest.Matcher)default TheFluent hasResult()
Returns.hasResult()default TheFluent returns(Object value)
value?value - Returns.returns(java.lang.Object)default TheFluent returns(org.hamcrest.Matcher<?> resultMatcher)
resultMatcher - Returns.returns(org.hamcrest.Matcher)default TheFluent returns()
Returns.returns()ProcFluent.OrChain<Value,TheFluent,?> either()
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends org.cthul.proc.Proc,BaseFluent>either in interface ObjectFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>ProcFluent.OrChain<Value,TheFluent,?> either(org.hamcrest.Matcher<? super Value> matcher)
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends org.cthul.proc.Proc,BaseFluent>either in interface ObjectFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>ProcFluent.AndChain<Value,TheFluent,?> both()
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends org.cthul.proc.Proc,BaseFluent>both in interface ObjectFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>ProcFluent.AndChain<Value,TheFluent,?> both(org.hamcrest.Matcher<? super Value> matcher)
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends org.cthul.proc.Proc,BaseFluent>both in interface ObjectFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>ProcFluent.AndChain<Value,TheFluent,?> all()
all in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>all in interface org.cthul.matchers.fluent.FluentStep<Value extends org.cthul.proc.Proc,BaseFluent>all in interface ObjectFluent<Value extends org.cthul.proc.Proc,BaseFluent,TheFluent extends BaseFluent,This extends ProcFluent<Value,BaseFluent,TheFluent,This>>Copyright © 2015. All Rights Reserved.