@Test(expected = TitusServiceException.class)
public void testEnvironmentNamesWithInvalidCharactersAndWithValidationFailures() {

    JobDescriptor<BatchJobExt> jobDescriptor = newJobDescriptorWithEnvironment(";;;", "value");
    ExtendedJobSanitizer sanitizer = new ExtendedJobSanitizer(configuration, jobAssertions, entitySanitizer, disruptionBudgetSanitizer, jd -> false, jd -> true, titusRuntime);
    sanitizer.sanitize(jobDescriptor);
}