/*
* Class under test for void PlainDocument(AbstractDocument.Content)
*/
public void testPlainDocumentContent() {
doc = new PlainDocument(new GapContent(30));
Content content = doc.getContent();
assertTrue(content instanceof GapContent);
GapContent gapContent = (GapContent) content;
assertEquals(29, gapContent.getGapEnd() - gapContent.getGapStart());
Object tabSize = doc.getProperty(PlainDocument.tabSizeAttribute);
assertEquals(8, ((Integer) tabSize).intValue());