@Test
public void testMetaConfig() {

    Map config = new LinkedHashMap<>();
    YoloProcessor ypImageSaver = new YoloProcessor();
    YoloProcessor ypImageSaver2 = new YoloProcessor();
    
    config.put("pbFile", PB_FILE_608);
    config.put("metaFile", META_FILE_608);
    try {
        ypImageSaver.setupImageProcessing(config, SOURCE_NAME, MODEL_DIRECTORY, testAuthToken, testVantiqServer);
    } catch (Exception e) {
        fail("Should not fail setup: " + e.getClass().getName() + "::" + e.getMessage());
    }
    
    // useMetaIfAvailable flag should be true, since Config Size value is unchanged (default is 416)
    assert ypImageSaver.objectDetector.metaConfigOptions.useMetaIfAvailable == true;
    
    // Frame Size should be 608 since this is what is included in the meta file
    assert ypImageSaver.objectDetector.metaConfigOptions.frameSize == 608;
    
    config.remove("metaFile");
    config.put("labelFile", LABEL_FILE);
    try {
        ypImageSaver2.setupImageProcessing(config, SOURCE_NAME, MODEL_DIRECTORY, testAuthToken, testVantiqServer);
    } catch (Exception e) {
        fail("Should not fail setup: " + e.getClass().getName() + "::" + e.getMessage());
    }
    
    // useMetaIfAvailable flag should still be true regardless of meta file presence
    // Since there is no meta file, default value will be used
    assert ypImageSaver2.objectDetector.metaConfigOptions.useMetaIfAvailable == true;
    
    // Frame Size should be 416 since this is what is the default
    assert ypImageSaver2.objectDetector.metaConfigOptions.frameSize == 416;
}