### Question:
ExtendedQuoteBlock extends AbstractConfluenceDelimitedBlock { @Override public int findCloseOffset(String line, int lineOffset) { if (nestedBlock == null) { return super.findCloseOffset(line, lineOffset); } return nestedBlock.findCloseOffset(line, lineOffset); } ExtendedQuoteBlock(); @Override int findCloseOffset(String line, int lineOffset); @Override boolean beginNesting(); @Override boolean canResume(String line, int lineOffset);  }### Answer:
@Test public void finadCloseOffsetWithoutANestBlock() { ExtendedQuoteBlock block = new ExtendedQuoteBlock(); assertEquals(-1, block.findCloseOffset("some line", 1)); }