public class ErrorCollector extends Object
Constructor and Description |
---|
ErrorCollector() |
Modifier and Type | Method and Description |
---|---|
void |
addError(Throwable error) |
List<Throwable> |
errors() |
Object |
intercept(Object assertion,
Callable<?> proxy,
Method method,
Object stub) |
boolean |
wasSuccess() |
@RuntimeType public Object intercept(@This Object assertion, @SuperCall Callable<?> proxy, @SuperMethod(nullIfImpossible=true) Method method, @StubValue Object stub) throws Exception
Exception
public void addError(Throwable error)
public boolean wasSuccess()
Copyright © 2020 AssertJ. All rights reserved.