@Test
void thenComparingDouble() throws Exception {

    comparatorsAndReverses().forEachOrdered(comp1 -> {
        final Comparator<Entity> mock1 = mockComparator(
            comp1.getField(),
            comp1.getNullOrder(),
            comp1.isReversed()
        );
        final Comparator<Entity> mock = mock1.thenComparingDouble(Entity.DOUBLE.getter());
        final Comparator<Entity> comp = comp1.thenComparingDouble(Entity.DOUBLE.getter());
        final List<Entity> expected = list.stream().sorted(mock).collect(toList());
        final List<Entity> actual   = list.stream().sorted(comp).collect(toList());
        assertEquals(actual, expected, format("Compare %s then %s using %s",
            comp1.getField().identifier().getColumnId(),
            Entity.DOUBLE.identifier().getColumnId(),
            comp
            )
        );
    });
}