void () { MavenRunnerSettings runnerSettings = new MavenRunnerSettings(); runnerSettings.setVmOptions("-Xmx400m"); String vmOptions = MavenExternalParameters.getRunVmOptions(runnerSettings, myProject, getProjectPath()); assertEquals("-Xmx400m", vmOptions); }