Alex Kuznetsov
05/01/2020, 5:59 PMmockk
statement:
I'd like to spread a long statement like the following over several lines:
every { <http://myThing.do|myThing.do>() } returns 1 andThenThrows Exception("No way!") andThen 3 andThen 4
the line gets too wide, is there a way to continue it:
every { <http://myThing.do|myThing.do>() } returns 1
andThenThrows Exception("No way!")
andThen 3
andThen 4
TIA!jdiaz
05/02/2020, 7:32 PMreturns(1).andThenThrows(...).andThen(3)
and then you can format it as you wantAlex Kuznetsov
05/18/2020, 9:35 PM