void () { Application application = ApplicationManager.getApplication(); if (application != null) { Logger.getInstance(Messages.class).assertTrue(application.isUnitTestMode(), "This method is available for tests only"); } }