@Test public void testParseArgumentsReturnsTrueWithAllArgs() throws Exception { String[] args = new String[] {"--stringParam", "abc", "--longParam", "123", "--longOptionalParam", "456"}; TestSampleParams p = new TestSampleParams(); assertTrue(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);  }