### Question:
JvmArgs { public Path getWorkingDir() { return workingDir; } JvmArgs(JvmArgsBuilder src); Path getWorkingDir(); List<String> toCommand(); final Path workingDir; final Path javaHome; final List<String> jvmOptions; final Map<String, String> systemProperties; final Path executableJar; final List<String> programArgs; }### Answer:
@Test public void uses_specified_working_directory() { Path workingDir = Paths.get("working-dir"); JvmArgs jvmArgs = newBuilder() .setWorkingDir(workingDir) .freeze(); assertThat(jvmArgs.getWorkingDir(), is(workingDir)); }