@Test
public void testAtMostOption() throws Exception {

    Root root = new Root(
            "root1",
            new Child("child1", 2, 150),
            new NullableChild("child2")
    );
    Root sanitized = apply(root);
    assertThat(sanitized.getChild().getMax()).isEqualTo(100);
}