public static boolean isInventoryFinished(final int jobShardingCount, final Collection<TransmissionJobItemProgress> jobItemProgresses) {
        return isAllProgressesFilled(jobShardingCount, jobItemProgresses) && isAllInventoryTasksCompleted(jobItemProgresses);
    }
@Test
    void assertIsInventoryFinishedWhenJobCountDoesNotMatchJobItemProgresses() {
        TransmissionJobItemProgress transmissionJobItemProgress = new TransmissionJobItemProgress();
        assertFalse(PipelineJobProgressDetector.isInventoryFinished(2, Collections.singleton(transmissionJobItemProgress)));
    }