### Question:
PLIBuilder { public List<PositionListIndex> getPLIList() throws InputIterationException { List<List<LongArrayList>> rawPLIs = getRawPLIs(); List<PositionListIndex> result = new ArrayList<>(); for (List<LongArrayList> rawPLI : rawPLIs) { result.add(new PositionListIndex(rawPLI)); } return result; } PLIBuilder(RelationalInput input);  PLIBuilder(RelationalInput input, boolean nullEqualsNull); List<PositionListIndex> getPLIList(); long getNumberOfTuples(); List<TreeSet<String>> getDistinctSortedColumns();  }### Answer:
@Test public void testCalculatePLINullEqualsNull() throws InputIterationException { List<PositionListIndex> expectedPLIList = fixture.getExpectedPLIList(true); PositionListIndex[] expectedPLIArray = expectedPLIList.toArray(new PositionListIndex[expectedPLIList.size()]); List<PositionListIndex> actualPLIList = builder.getPLIList(); assertThat(actualPLIList, IsIterableContainingInAnyOrder.containsInAnyOrder(expectedPLIArray)); }
@Test public void testCalculatePLINullNotEqualsNull() throws InputIterationException, InputGenerationException, AlgorithmConfigurationException { this.builder = new PLIBuilder(fixture.getInputGenerator().generateNewCopy(), false); List<PositionListIndex> expectedPLIList = fixture.getExpectedPLIList(false); PositionListIndex[] expectedPLIArray = expectedPLIList.toArray(new PositionListIndex[expectedPLIList.size()]); List<PositionListIndex> actualPLIList = builder.getPLIList(); assertThat(actualPLIList, IsIterableContainingInAnyOrder.containsInAnyOrder(expectedPLIArray)); }