@Test
public void canSpecifyFrequencySources() {

    Set<FrequencySource> sources = EnumSet.allOf(FrequencySource.class);
    Analysis instance = newBuilder()
            .frequencySources(sources)
            .build();
    assertThat(instance.getFrequencySources(), equalTo(sources));
}