@Test
public void parseEmptyThrows() {

  final Throwable thrown = catchThrowable(() ->
      MemConfValue.parseMaxXmx(Props.of(Constants.JobProperties.JOB_MAX_XMX, "")));
  assertThat(thrown).isInstanceOf(IllegalArgumentException.class);
  assertThat(thrown).hasMessage("job.max.Xmx must not have an empty value. "
      + "Remove the property to use default or specify a valid value.");
}