@Test public void shouldParseJVM() { final ReportOptions actual = parseAddingRequiredArgs("--jvmPath", "foo"); assertEquals("foo", actual.getJavaExecutable()); }
@Test public void shouldDefaultJVMToNull() { final ReportOptions actual = parseAddingRequiredArgs(); assertEquals(null, actual.getJavaExecutable()); }