Example:
@Play @Test
void something() {
somecode()
}
will be transformed to
@Test
void something() {
play {
somecode()
}
}
It can avoid the indent of the play closure.
It will be useful while we have stubs. Image that the user just need some stubs
and doesn't need to verify them, then he can create stubs in setUp(), and use
@Play to avoid an additional indent.
Original issue reported on code.google.com by JohnnyJianHY on 24 Dec 2010 at 2:17
Original issue reported on code.google.com by
JohnnyJianHY
on 24 Dec 2010 at 2:17