@Test
public void testDefaultNumPartitions() {

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