@Test
public void testValidateLikeInconsistentFlags() {

  FormatOptions options;
  // Prefixing plus and space for negative values is always incompatible for all formats.
  options = parse("+ ", false);
  for (FormatChar fc : FormatChar.values()) {
    assertThat(options).areNotValidFor(fc);
  }
  // Left alignment and zero padding are always incompatible for all formats.
  options = parse("-0", false);
  for (FormatChar fc : FormatChar.values()) {
    assertThat(options).areNotValidFor(fc);
  }
}