InheritanceModeOptions { public boolean isEmpty() { return subMoiMaxFreqs.isEmpty(); } private  InheritanceModeOptions(Map<SubModeOfInheritance, Float> values); static InheritanceModeOptions defaults(); static InheritanceModeOptions empty(); static InheritanceModeOptions of(Map<SubModeOfInheritance, Float> values); static InheritanceModeOptions defaultForModes(ModeOfInheritance... modesOfInheritance); float getMaxFreqForMode(ModeOfInheritance modeOfInheritance); float getMaxFreqForSubMode(SubModeOfInheritance subModeOfInheritance); float getMaxFreq(); Set<ModeOfInheritance> getDefinedModes(); Set<SubModeOfInheritance> getDefinedSubModes(); boolean isEmpty(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void isEmpty() { assertThat(InheritanceModeOptions.empty().isEmpty(), equalTo(true)); assertThat(InheritanceModeOptions.defaults().isEmpty(), equalTo(false)); }