@Test
public void getValuesOfField_ifFieldExists_should_returnThoseFields() {

    final TableData table = Daleq.aTable(TheTable.class).withRowsBetween(0, 4).build(context());
    final List<Optional<String>> expected = Lists.transform(
            Lists.newArrayList("0", "1", "2", "3", "4"),
            new Function<String, Optional<String>>() {
                @Override
                public Optional<String> apply(@Nullable final String input) {
                    if (input == null) {
                        return Optional.absent();
                    }
                    return Optional.of(input);
                }
            }
    );
    assertThat(Lists.newArrayList(table.getValuesOfField("ID")), Matchers.is(expected));
}