### Question:
ValidatorConfiguration { public String getStorageLevel() { return storageLevel; } ValidatorConfiguration(@Nonnull final String[] args); String getFeedTableName(); String getFieldPolicyJsonPath(); List<Param> getHiveParams(); String getInvalidTableName(); Integer getNumPartitions(); String getPartition(); String getProfileTableName(); String getStorageLevel(); String getTargetDatabase(); String getValidTableName();  }### Answer:
@Test public void testParseRemainingParametersStorageLevel() { String[] args = {"--storageLevel", "MEMORY_ONLY"}; ValidatorConfiguration params = new ValidatorConfiguration(new String[]{"targetDatabase", "entity", "partition", "path-to-policy-file"}); new JCommander(params).parse(args); String storageLevel = params.getStorageLevel(); assertEquals("MEMORY_ONLY", storageLevel); }
@Test public void testDefaultStorageLevel() { String[] args = {}; ValidatorConfiguration params = new ValidatorConfiguration(new String[]{"targetDatabase", "entity", "partition", "path-to-policy-file"}); new JCommander(params).parse(args); String defaultStorageLevel = params.getStorageLevel(); assertEquals("MEMORY_AND_DISK", defaultStorageLevel); }