unittest { with (Object) { // do something } with (Object) with (Object) { // do something } with (Object) with (Object) with (Object) { // do something } with (Object) { with (Object) { // do something } } }