### Question:
PedFileDriver implements PlinkFileParser, Iterable<PedEntry> { public long getNrOfElements() throws IOException { if (nrElements == -1) nrElements = getNumberOfNonEmptyLines(file, FILE_ENCODING); return nrElements; } PedFileDriver(File pedFile);  PedFileDriver(File pedFile, char separator);  PedFileDriver(File pedFile, String separators); List<PedEntry> getAllEntries(); @Override Iterator<PedEntry> iterator(); List<PedEntry> getEntries(final long from, final long to); long getNrOfElements(); @Override void close(); void reset();  }### Answer:
@Test public void PED_construct() throws Exception { assertEquals(9, pedfd.getNrOfElements()); }