@Test
public void canSetModeOfInheritanceDefaults() {

    Analysis instance = newBuilder()
            .inheritanceModeOptions(InheritanceModeOptions.defaults())
            .build();
    assertThat(instance.getInheritanceModeOptions(), equalTo(InheritanceModeOptions.defaults()));
}