Package org.assertj.core.api
Class ProxifyMethodChangingTheObjectUnderTest
- java.lang.Object
-
- org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest
-
public class ProxifyMethodChangingTheObjectUnderTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FIELD_NAME
private SoftProxies
proxies
-
Constructor Summary
Constructors Constructor Description ProxifyMethodChangingTheObjectUnderTest(SoftProxies proxies)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.Object
actual(java.lang.Object result)
private static java.lang.Class
actualClass(java.lang.Object currentAssert)
private AbstractAssert<?,?>
createAssertProxy(AbstractAssert<?,?> currentAssert)
private IterableSizeAssert<?>
createIterableSizeAssertProxy(java.lang.Object currentAssert)
private MapSizeAssert<?,?>
createMapSizeAssertProxy(java.lang.Object currentAssert)
private RecursiveComparisonAssert<?>
createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> currentAssert)
static AbstractAssert<?,?>
intercept(ProxifyMethodChangingTheObjectUnderTest dispatcher, java.util.concurrent.Callable<AbstractAssert<?,?>> assertionMethod, AbstractAssert<?,?> currentAssertInstance)
-
-
-
Field Detail
-
FIELD_NAME
public static final java.lang.String FIELD_NAME
- See Also:
- Constant Field Values
-
proxies
private final SoftProxies proxies
-
-
Constructor Detail
-
ProxifyMethodChangingTheObjectUnderTest
ProxifyMethodChangingTheObjectUnderTest(SoftProxies proxies)
-
-
Method Detail
-
intercept
@RuntimeType public static AbstractAssert<?,?> intercept(@FieldValue("dispatcher") ProxifyMethodChangingTheObjectUnderTest dispatcher, @SuperCall java.util.concurrent.Callable<AbstractAssert<?,?>> assertionMethod, @This AbstractAssert<?,?> currentAssertInstance) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createAssertProxy
private AbstractAssert<?,?> createAssertProxy(AbstractAssert<?,?> currentAssert)
-
createRecursiveComparisonAssertProxy
private RecursiveComparisonAssert<?> createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> currentAssert)
-
createMapSizeAssertProxy
private MapSizeAssert<?,?> createMapSizeAssertProxy(java.lang.Object currentAssert)
-
createIterableSizeAssertProxy
private IterableSizeAssert<?> createIterableSizeAssertProxy(java.lang.Object currentAssert)
-
actualClass
private static java.lang.Class actualClass(java.lang.Object currentAssert)
-
actual
private static java.lang.Object actual(java.lang.Object result)
-
-