void () { getSettings().KEEP_BLANK_LINES_BETWEEN_PACKAGE_DECLARATION_AND_HEADER = 2; getSettings().BLANK_LINES_BEFORE_PACKAGE = 1; doTextTest( """ /* * This is a sample file. */ package com.intellij.samples;""", """ /* * This is a sample file. */ package com.intellij.samples;""" ); }