public void summarize_whole() {
DmdlSemantics resolved = resolve();
ModelDeclaration counter = resolved.findModelDeclaration("counter");
assertThat(counter, not(nullValue()));
PropertyDeclaration count = counter.findPropertyDeclaration("count");
assertThat(count, not(nullValue()));
assertThat(count.getType(), is(type(BasicTypeKind.LONG)));
SummarizeTrait trait = counter.getTrait(SummarizeTrait.class);
assertThat(trait, not(nullValue()));