object.set("max", new Date(2011, 12, 31));
assertThat(object.get("max"), eq(new Date(2011, 12, 31)));
object.set("min", new Date(2011, 4, 1));
assertThat(object.get("min"), eq(new Date(2011, 4, 1)));
Summarized annotation = object.unwrap().getClass().getAnnotation(Summarized.class);
assertThat(annotation, not(nullValue()));
loader.setNamespace(Constants.SOURCE_TABLE);
Term term = annotation.term();
assertThat(term.source(), eq(loader.modelType("Target")));
assertThat(term.foldings().length, is(5));
assertThat(term.foldings(), hasItemInArray(mapping(ANY, "valueA", "key")));
assertThat(term.foldings(), hasItemInArray(mapping(SUM, "valueB", "sum")));
assertThat(term.foldings(), hasItemInArray(mapping(COUNT, "sid", "count")));