doNothing
doNothing(). doThrow(new RuntimeException("two")) .when(mock).someVoidMethod();
6061626364656667686970
msg= instance.echo(msg); } } long start = System.currentTimeMillis(); for (int i = 0; i < iterations; i++) { instance.doNothing(); } long end = System.currentTimeMillis(); printResults("Normal", end, start, iterations); // reflection
6162636465666768697071
6364656667686970717273
7071727374757677787980