Package org.assertj.core.api
Interface ObjectAssertProxy
public interface ObjectAssertProxy
Proxy to access package-protected methods in
org.assertj.core.api.- Author:
- Guillermo Calvo
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> ObjectAssert<T> assertWithAssertionState(AbstractAssert<?, ?> state, T actual) Assert with assertion state.
-
Method Details
-
assertWithAssertionState
Assert with assertion state.Invokes
Assertions.assertThatObject(Object)and thenAbstractObjectAssert.withAssertionState(AbstractAssert).- Type Parameters:
T- the generic type of the assert.- Parameters:
state- the assertion state.actual- the actual value.- Returns:
- the created assertion object with the assertion state.
-