@Test
public void testFlatStringEntryPoint() {

    JobDescriptor<?> jobDescriptor = newBatchJob()
            .map(jd -> jd.but(d -> d.getContainer().toBuilder()
                    .withEntryPoint(Collections.singletonList("/bin/sh -c \"sleep 10\""))
                    .withCommand(null)))
            .getValue();
    ExtendedJobSanitizer sanitizer = new ExtendedJobSanitizer(configuration, jobAssertions, entitySanitizer, disruptionBudgetSanitizer, jd -> false, jd -> false, titusRuntime);
    Optional<JobDescriptor<?>> sanitized = sanitizer.sanitize(jobDescriptor);
    assertThat(sanitized).isPresent();
    Map<String, String> attributes = sanitized.get().getAttributes();
    assertThat(attributes).containsKey(TITUS_NON_COMPLIANT_FEATURES);
    List<String> problems = asList(attributes.get(TITUS_NON_COMPLIANT_FEATURES).split(","));
    assertThat(problems).contains(FeatureRolloutPlans.ENTRY_POINT_STRICT_VALIDATION_FEATURE);
}