Package org.assertj.core.api
Class ProxifyMethodChangingTheObjectUnderTest
- java.lang.Object
-
- org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest
-
public class ProxifyMethodChangingTheObjectUnderTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static 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 Object
actual(Object result)
private static Class
actualClass(Object currentAssert)
private AbstractAssert<?,?>
createAssertProxy(AbstractAssert<?,?> currentAssert)
private IterableSizeAssert<?>
createIterableSizeAssertProxy(Object currentAssert)
private MapSizeAssert<?,?>
createMapSizeAssertProxy(Object currentAssert)
private RecursiveComparisonAssert<?>
createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> currentAssert)
static AbstractAssert<?,?>
intercept(ProxifyMethodChangingTheObjectUnderTest dispatcher, Callable<AbstractAssert<?,?>> assertionMethod, AbstractAssert<?,?> currentAssertInstance)
-
-
-
Field Detail
-
FIELD_NAME
public static final 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 Callable<AbstractAssert<?,?>> assertionMethod, @This AbstractAssert<?,?> currentAssertInstance) throws Exception
- Throws:
Exception
-
createAssertProxy
private AbstractAssert<?,?> createAssertProxy(AbstractAssert<?,?> currentAssert)
-
createRecursiveComparisonAssertProxy
private RecursiveComparisonAssert<?> createRecursiveComparisonAssertProxy(RecursiveComparisonAssert<?> currentAssert)
-
createMapSizeAssertProxy
private MapSizeAssert<?,?> createMapSizeAssertProxy(Object currentAssert)
-
createIterableSizeAssertProxy
private IterableSizeAssert<?> createIterableSizeAssertProxy(Object currentAssert)
-
-