CapturedResult

constructor(returnedValue: T, vararg consoleOutput: String)


constructor(returnedValue: T, consoleOutput: List<String>)

provides for construction via either a list of console outputs or a variable number of arguments

Parameters

T

type of the function return value

returnedValue

function return value

consoleOutput

line(s) of console output