void () { JUnitConfiguration configuration = new JUnitConfiguration(null, getProject()); JUnitConfiguration.Data data = configuration.getPersistentData(); data.MAIN_CLASS_NAME = "com.comp.ATestClass"; configuration.setGeneratedName(); checkSuggestedName("ATestClass", configuration); configuration.setName("Other name"); configuration.setNameChangedByUser(true); checkSuggestedName("Other name", configuration); data.METHOD_NAME = "testSmth"; data.TEST_OBJECT = JUnitConfiguration.TEST_METHOD; configuration.setGeneratedName(); checkSuggestedName("testSmth()", configuration); data.METHOD_NAME = "123456789012345678900"; configuration.setGeneratedName(); checkSuggestedName("123456789012345678...()", configuration); }