@Test (expected = IllegalArgumentException.class)
public void testMultipleFlagsWithSameName() {

    Flags flags = new Flags()
    .loadOpts(FlagsAllLegalFields.class)
    .loadOpts(FlagsDoubleName.class);
}