@Test
public void validateSourceData_works(){

    // given
    List<String> annotations = Arrays.asList("row", "value", "value", "column");
    List<Integer> orderNumbers = Arrays.asList(0, 0, 1, 1);
    List<String> typeList = Arrays.asList(null, "SUM", "SUM", null);
    List<String> fieldNameList = Arrays.asList("fn1", "fn2", "fn2a", "fn3");
    List<?> v1 = Arrays.asList("r1", "a", 1, "c1");
    sourceSheetBuilder(annotations, orderNumbers, typeList, fieldNameList, v1);
    // then
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("Values other than CELL_TYPE_NUMERIC found");
    // when
    p.pivot(sourceSheet, targetSheet);
}