org.assertj.core.api
Class ErrorCollector
java.lang.Object
org.assertj.core.api.ErrorCollector
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class ErrorCollector
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor
Collects error messages of all AssertionErrors thrown by the proxied method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorCollector
public ErrorCollector()
intercept
public Object intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
throws Throwable
- Specified by:
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
errors
public List<Throwable> errors()
Copyright © 2013–2015 AssertJ. All rights reserved.