ShuffleModel analyzed = analyzer.analyze(target);
assertThat(analyzed, not(nullValue()));
List<Segment> segments = analyzed.getSegments();
assertThat(segments.size(), is(1));
Segment segment = segments.get(0);
assertThat(segment.getTerms().size(), is(1));
Term grouping = segment.getTerms().get(0);
assertThat(grouping.getArrangement(), is(Arrangement.GROUPING));
assertThat(grouping.getSource().getName(), is("string"));
assertThat(grouping.getSource().getType(), equalTo((Type) StringOption.class));
}