Is there an easy way to print the contents of what is returned from a new class object? I am testing with Fun Suite. Please see example below:
test("test") {
val contentString = new TestClass("test")
println("CONTENT IS: " + contentString)
}
The output is "CONTENT IS: TestClass@3c8bdd5b" and I would like to see "CONTENT IS: actual string content"
Thanks