@Test
public void createOrderRowTest() {

    // given
    XSSFWorkbook workbook = new XSSFWorkbook();
    XSSFSheet sheet = workbook.createSheet();
    Row r = sheet.createRow(1);
    List<Integer> l = Arrays.asList(1, 0, 2);
    // when
    PivotUtils.createOrderRow(r,l);
    // then
    Assertions.assertThat(r.getCell(0).getNumericCellValue()).isEqualTo(1);
    Assertions.assertThat(r.getCell(1).getNumericCellValue()).isEqualTo(0);
    Assertions.assertThat(r.getCell(2).getNumericCellValue()).isEqualTo(2);
}