### Question:
SelectionTableRowData { public void invalidate() { descriptor.release(); } SelectionTableRowData(PdfDocumentDescriptor descriptor); SelectionTableRowData duplicate(); PdfDocumentDescriptor descriptor(); void invalidate(); Set<PageRange> toPageRangeSet(); final SimpleStringProperty pageSelection; final SimpleStringProperty pace; final SimpleBooleanProperty reverse; }### Answer:
@Test public void invalidate() { PdfDocumentDescriptor descriptor = mock(PdfDocumentDescriptor.class); SelectionTableRowData victim = new SelectionTableRowData(descriptor); victim.invalidate(); verify(descriptor).release(); }