Closed garyrussell closed 1 year ago
To help debug an issue I am looking at, I had to add:
Output out = (Output) new DirectFieldAccessor(output).getPropertyValue("output"); out.outputLines().forEach(line -> System.out.println(line));
It would be useful if it provided getOutput().
getOutput()
Hi Gary, can't it be accessed via Output.current()?
Output.current()
@sdeleuze That works, but it creates a new Output instance; it would be (slightly) more efficient to use the AssertableOutput.output.
Output
AssertableOutput.output
To help debug an issue I am looking at, I had to add:
It would be useful if it provided
getOutput()
.