Uses of Class
org.apache.juneau.assertions.FluentAnyAssertion
Packages that use FluentAnyAssertion
Package
Description
REST Assertions
REST Client API
REST Client Assertions
-
Uses of FluentAnyAssertion in org.apache.juneau.assertions
Subclasses of FluentAnyAssertion in org.apache.juneau.assertionsModifier and TypeClassDescriptionclass
AnyAssertion<T>
Used for assertion calls against generic POJOs.Methods in org.apache.juneau.assertions that return FluentAnyAssertionModifier and TypeMethodDescriptionFluentObjectAssertion.asAny()
Converts this assertion into anFluentAnyAssertion
so that it can be converted to other assertion types.FluentListAssertion.asFirst()
Returns the first entry from this list.FluentArrayAssertion.asItem
(int index) Returns an object assertion on the item specified at the specified index.FluentListAssertion.asItem
(int index) Returns an object assertion on the item specified at the specified index.FluentPrimitiveArrayAssertion.asItem
(int index) Returns an object assertion on the item specified at the specified index.FluentListAssertion.asLast()
Returns the last entry from this list.FluentBeanAssertion.asProperty
(String name) Extracts the specified property as anFluentAnyAssertion
.Returns an object assertion on the value specified at the specified key.FluentAnyAssertion.setOut
(PrintStream value) FluentAnyAssertion.setSilent()
FluentAnyAssertion.setStdOut()
FluentAnyAssertion.setThrowable
(Class<? extends RuntimeException> value) -
Uses of FluentAnyAssertion in org.apache.juneau.rest.assertions
Methods in org.apache.juneau.rest.assertions that return FluentAnyAssertionModifier and TypeMethodDescription<T> FluentAnyAssertion<T,
R> Converts the parameter value to a type usingRequestHttpPart.as(Class)
and then returns the value as an any-object assertion.Converts the parameter value to a type usingRequestHttpPart.as(Type,Type...)
and then returns the value as an any-object assertion.<T> FluentAnyAssertion<T,
R> Converts the parameter value to a type usingRequestHttpPart.as(Class)
and then returns the value as an any-object assertion.Converts the parameter value to a type usingRequestHttpPart.as(Type,Type...)
and then returns the value as an any-object assertion.<T> FluentAnyAssertion<T,
R> Converts the parameter value to a type usingRequestHttpPart.as(Class)
and then returns the value as an any-object assertion.Converts the parameter value to a type usingRequestHttpPart.as(Type,Type...)
and then returns the value as an any-object assertion. -
Uses of FluentAnyAssertion in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return FluentAnyAssertionModifier and TypeMethodDescriptionResponseContent.assertObject
(Class<T> type) Shortcut for callingassertValue().as( .type )ResponseContent.assertObject
(Type type, Type... args) Shortcut for callingassertValue().as( .type ,args ) -
Uses of FluentAnyAssertion in org.apache.juneau.rest.client.assertion
Methods in org.apache.juneau.rest.client.assertion that return FluentAnyAssertionModifier and TypeMethodDescription<T> FluentAnyAssertion<T,
R> Converts the body to a type usingResponseContent.as(Class)
and then returns the value as an object assertion.Converts the body to a type usingResponseContent.as(Type,Type...)
and then returns the value as an object assertion.<T> FluentAnyAssertion<T,
R> Converts the parameter value to a type usingResponseHeader.as(Class)
and then returns the value as an any-object assertion.Converts the parameter value to a type usingResponseHeader.as(Type,Type...)
and then returns the value as an any-object assertion.