### Question:
FileEntry extends Entry { @Override public boolean hasUnavailableContent(List<Entry> entriesWithUnavailableContent) { if (myContent.isAvailable()) return false; entriesWithUnavailableContent.add(this); return true; } FileEntry(String name, Content content, long timestamp, boolean isReadOnly);  FileEntry(DataInput in, boolean dummy /* to distinguish from general constructor*/); @Override void write(DataOutput out); @Override long getTimestamp(); @Override boolean isReadOnly(); @Override void setReadOnly(boolean isReadOnly); @Override Content getContent(); @Override boolean hasUnavailableContent(List<Entry> entriesWithUnavailableContent); @Override FileEntry copy(); @Override void setContent(Content newContent, long newTimestamp); @Override void collectDifferencesWith(Entry e, List<Difference> result);  }### Answer:
@Test @Ignore public void testHasUnavailableContent() { Entry e1 = new FileEntry(null, c("abc"), -1, false); Entry e2 = new FileEntry(null, new StoredContent(-1), -1, false); assertFalse(e1.hasUnavailableContent()); assertTrue(e2.hasUnavailableContent()); }