DefaultColumnQueryMapperBuilder implements ColumnQueryMapperBuilder { @Override public <T> ColumnMapperDeleteFrom deleteFrom(Class<T> entityClass) { requireNonNull(entityClass, "entity is required"); ClassMapping mapping = mappings.get().get(entityClass); return new DefaultColumnMapperDeleteBuilder(mapping, converters.get()); }  @Override ColumnMapperFrom selectFrom(Class<T> entityClass); @Override ColumnMapperDeleteFrom deleteFrom(Class<T> entityClass);  }
@Test public void shouldReturnErrorWhenDeleteEntityClassIsNull() { assertThrows(NullPointerException.class, () -> mapperBuilder.deleteFrom(null)); }
@Test public void shouldReturnDeleteFrom() { ColumnMapperDeleteFrom columnDeleteFrom = mapperBuilder.deleteFrom(Person.class); assertNotNull(columnDeleteFrom); }