@Test public void testParseArgumentsThrowsExceptionWithPartialRequiredArgs() throws Exception { String[] args = new String[] {"--stringParam", "abc"}; TestSampleParams p = new TestSampleParams(); exception.expect(ParameterException.class); p.parseArguments(args); }
public boolean parseArguments(String[] args) { return parseArguments(args, Runtime.getRuntime(), System.err); }
CodeSampleParams { public boolean parseArguments(String[] args) { return parseArguments(args, Runtime.getRuntime(), System.err); } }
CodeSampleParams { public boolean parseArguments(String[] args) { return parseArguments(args, Runtime.getRuntime(), System.err); }  }
CodeSampleParams { public boolean parseArguments(String[] args) { return parseArguments(args, Runtime.getRuntime(), System.err); }  boolean parseArguments(String[] args); }
CodeSampleParams { public boolean parseArguments(String[] args) { return parseArguments(args, Runtime.getRuntime(), System.err); }  boolean parseArguments(String[] args);  }