### Question:
PLIBuilder { public long getNumberOfTuples() throws InputIterationException { if (this.numberOfTuples == -1) { throw new InputIterationException(); } else { return this.numberOfTuples; } } PLIBuilder(RelationalInput input);  PLIBuilder(RelationalInput input, boolean nullEqualsNull); List<PositionListIndex> getPLIList(); long getNumberOfTuples(); List<TreeSet<String>> getDistinctSortedColumns();  }### Answer:
@Test public void testGetNumberOfTuples() throws InputIterationException { long expectedNumberOfColumns = fixture.getExpectedNumberOfTuples(); try { builder.getNumberOfTuples(); fail(); } catch (InputIterationException e) { } builder.getPLIList(); assertEquals(expectedNumberOfColumns, builder.getNumberOfTuples()); }