### Question:
CoverageMonitor { public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; } CoverageMonitor(String uri); File getTestSessionDir(); void setTestSessionDir(File sessionDir); void writeCoverageResults();  }### Answer:
@Test public void createCoverageMonitor() { File sessionDir = new File(System.getProperty("java.io.tmpdir")); CoverageMonitor monitor = new CoverageMonitor("http: monitor.setTestSessionDir(sessionDir); assertNotNull(monitor); }