int expectedMaxSizeY = 1;
for (CLIArguments args : expectedGroup.getCLIArgumentsList()) {
for (File outputFile : args.getOutput()) {
OutputMode outputMode = CLIArgumentsUtil.getOutputMode(outputFile);
if (outputMode == OutputMode.PNG || outputMode == OutputMode.PPM) {
expectedFileCalls = 1;
expectedMaxSizeX = max(expectedMaxSizeX, args.getResolution().x);
expectedMaxSizeY = max(expectedMaxSizeY, args.getResolution().y);
}