    @Test
    public void assertCompareToForEqualWithGroupByItems() throws SQLException {

        MemoryResultSetRow o1 = new MemoryResultSetRow(mockResult("1", "2"));
        MemoryResultSetRow o2 = new MemoryResultSetRow(mockResult("1", "2"));
        SelectStatement selectStatement = new SelectStatement();
        selectStatement.getGroupByItems().addAll(Arrays.asList(new OrderItem(1, OrderType.ASC), new OrderItem(2, OrderType.DESC)));
        GroupByRowComparator groupByRowComparator = new GroupByRowComparator(selectStatement, OrderType.ASC);
        assertThat(groupByRowComparator.compare(o1, o2), is(0));
    }