174175176177178179180181182183184
public void describeWith(ExpressionDescriber arg) throws IOException { } public boolean passes(Object arg) { FileUploadProgress progress = (FileUploadProgress) arg; progress.fail("message"); return true; } }); startVerification();
200201202203204205206207208209210
public void describeWith(ExpressionDescriber arg) throws IOException { } public boolean passes(Object arg) { FileUploadProgress progress = (FileUploadProgress) arg; progress.fail(new Exception()); return true; } }); startVerification();
176177178179180181182183184185186
202203204205206207208209210211212