DefaultColumnMapperSelectBuilder extends AbstractMapperQuery implements ColumnMapperFrom, ColumnMapperLimit, ColumnMapperSkip,
        ColumnMapperOrder, ColumnMapperNameCondition, ColumnMapperNotCondition, ColumnMapperNameOrder, ColumnMapperWhere { @Override public ColumnMapperOrder orderBy(String name) { requireNonNull(name, "name is required"); this.name = name; return this; } DefaultColumnMapperSelectBuilder(ClassMapping mapping, Converters converters); @Override ColumnMapperNameCondition and(String name); @Override ColumnMapperNameCondition or(String name); @Override ColumnMapperNameCondition where(String name); @Override ColumnMapperSkip skip(long skip); @Override ColumnMapperLimit limit(long limit); @Override ColumnMapperOrder orderBy(String name); @Override ColumnMapperNotCondition not(); @Override ColumnMapperWhere eq(T value); @Override ColumnMapperWhere like(String value); @Override ColumnMapperWhere gt(T value); @Override ColumnMapperWhere gte(T value); @Override ColumnMapperWhere lt(T value); @Override ColumnMapperWhere lte(T value); @Override ColumnMapperWhere between(T valueA, T valueB); @Override ColumnMapperWhere in(Iterable<T> values); @Override ColumnMapperNameOrder asc(); @Override ColumnMapperNameOrder desc(); @Override ColumnQuery build(); @Override List<T> execute(ColumnTemplate template); @Override Optional<T> executeSingle(ColumnTemplate template); @Override void execute(ColumnTemplateAsync template, Consumer<List<T>> callback); @Override void executeSingle(ColumnTemplateAsync template, Consumer<Optional<T>> callback);  }
@Test public void shouldReturnErrorSelectWhenOrderIsNull() { Assertions.assertThrows(NullPointerException.class, () -> mapperBuilder.selectFrom(Worker.class).orderBy(null)); }