void () { VirtualFile virtualFile = myFixture .addFileToProject(".mvn/maven.config", "-o -U -N -T3 -q -X -e -C -ff -s user-settings.xml -gs global-settings.xml") .getVirtualFile().getParent(); MavenGeneralSettings settings = new MavenGeneralSettings(getProject()); settings.updateFromMavenConfig(Collections.singletonList(virtualFile)); Assert.assertEquals(MavenExecutionOptions.ChecksumPolicy.NOT_SET, settings.getChecksumPolicy()); Assert.assertEquals(MavenExecutionOptions.FailureMode.NOT_SET, settings.getFailureBehavior()); Assert.assertEquals(MavenExecutionOptions.LoggingLevel.INFO, settings.getOutputLevel()); Assert.assertFalse(settings.isAlwaysUpdateSnapshots()); Assert.assertFalse(settings.isWorkOffline()); Assert.assertFalse(settings.isPrintErrorStackTraces()); Assert.assertFalse(settings.isNonRecursive()); Assert.assertTrue(StringUtil.isEmpty(settings.getThreads())); }