### Question:
WatchesReport { public boolean hasPaths(long sessionId) { return id2paths.containsKey(sessionId); } WatchesReport(Map<Long, Set<String>> id2paths); boolean hasPaths(long sessionId); Set<String> getPaths(long sessionId); Map<Long, Set<String>> toMap();  }### Answer:
@Test public void testHasPaths() { assertTrue(r.hasPaths(1L)); assertTrue(r.hasPaths(2L)); assertFalse(r.hasPaths(3L)); }