@Test
public void testParseRemainingParametersNumPartitions() {

    String[] args = {"--storageLevel", "MEMORY_ONLY", "--numPartitions", "10"};
    ValidatorConfiguration params = new ValidatorConfiguration(new String[]{"targetDatabase", "entity", "partition", "path-to-policy-file"});
    new JCommander(params).parse(args);
    Integer numRDDPartitions = params.getNumPartitions();
    assertEquals("10", String.valueOf(numRDDPartitions));
}