@Test
public void analysisCanSpecifyAlternativeAnalysisMode() {

    Analysis instance = newBuilder()
            .analysisMode(AnalysisMode.FULL)
            .build();
    assertThat(instance.getAnalysisMode(), equalTo(AnalysisMode.FULL));
}