diff --git a/querydsl-collections/src/test/java/com/mysema/query/collections/GroupBy4Test.java b/querydsl-collections/src/test/java/com/mysema/query/collections/GroupBy4Test.java new file mode 100644 index 000000000..2b7cb9861 --- /dev/null +++ b/querydsl-collections/src/test/java/com/mysema/query/collections/GroupBy4Test.java @@ -0,0 +1,51 @@ +package com.mysema.query.collections; + +import static com.mysema.query.group.GroupBy.groupBy; +import static com.mysema.query.group.GroupBy.map; +import static org.junit.Assert.assertEquals; + +import java.util.List; +import java.util.Map; + +import org.junit.Test; + +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.mysema.query.annotations.QueryEntity; + + +public class GroupBy4Test { + + @QueryEntity + public static class Table { + String col1, col2, col3; + + public Table(String c1, String c2, String c3) { + col1 = c1; + col2 = c2; + col3 = c3; + } + } + + @Test + public void test() { + List