void () { doTest(); final IntentionAction intention = myFixture.getAvailableIntention(InspectionGadgetsBundle.message("public.constructor.quickfix")); assertNotNull(intention); String text = myFixture.getIntentionPreviewText(intention); assertEquals(""" package com.siyeh.igtest.classlayout.public_explicit_constructor; public class PublicExplicitConstructor { private PublicExplicitConstructor() {} public static PublicExplicitConstructor createPublicExplicitConstructor() { return new PublicExplicitConstructor(); } }""", text); }