@Test
public void testDiskSizeIsNotChanged() {

    JobDescriptor<BatchJobExt> jobDescriptor = newJobDescriptorWithDiskSize(11_000);
    when(configuration.getMinDiskSizeMB()).thenReturn(MIN_DISK_SIZE);
    when(entitySanitizer.sanitize(any())).thenReturn(Optional.of(jobDescriptor));
    ExtendedJobSanitizer sanitizer = new ExtendedJobSanitizer(configuration, jobAssertions, entitySanitizer, disruptionBudgetSanitizer, jd -> false, jd -> false, titusRuntime);
    Optional<JobDescriptor<BatchJobExt>> sanitizedJobDescriptorOpt = sanitizer.sanitize(jobDescriptor);
    assertThat(sanitizedJobDescriptorOpt).isEmpty();
}