@Test
public void previous_returnsProperItem() {

  /* Given */
  SqlPart sqlPart = mock(SqlPart.class);
  GroupByImpl groupBy = new GroupByImpl("a", sqlPart);
  /* When */
  SqlPart result = groupBy.previous();
  /* Then */
  assertThat(result, is(sqlPart));
}