void () { getSettings().METHOD_CALL_CHAIN_WRAP = CommonCodeStyleSettings.WRAP_ALWAYS; getSettings().WRAP_FIRST_METHOD_IN_CALL_CHAIN = true; doMethodTest( "obj.call().call().call().call();", """ obj .call() .call() .call() .call();""" ); doMethodTest( "call().call().call().call();", """ call() .call() .call() .call();""" ); doMethodTest( "nestedCall(call().call().call().call());", """ nestedCall(call() .call() .call() .call());""" ); }