### Question:
FileCarImage extends AbstractCarImage { public void loadImage() throws IOException { if (Files.exists(getFilepath()) && Files.isRegularFile(getFilepath())) { InputStream inStream = Files.newInputStream(persistablePath.getPath()); loadImage(inStream); return; } throw new IOException("Image at " + getFilepath().toString() + " doesn't exist or is invalid."); } @SuppressWarnings("unused") private  FileCarImage();  FileCarImage(Path filepath); void loadImage(); void loadImage(InputStream inStream); void loadFragment(Rectangle rect); void loadFragment(InputStream inStream, Rectangle rect); @Override void close(); @Override @Transient BufferedImage getImage(); @Transient Path getFilepath(); void setFilepath(Path filepath); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testLoadImage() throws IOException { file.loadImage(); assertNotNull(file); assertNotNull(file.getImage()); }