}
/** Test getDocumentContent where document has empty content. */
public void testGetDocumentContentEmptyContent() throws Exception {
instantiator.addConnector(connectorName,
new MockConnector(null, null, null, new MockRetriever(), null));
InputStream in = manager.getDocumentContent(connectorName,
MockRetriever.DOCID_NO_CONTENT);
// GSA still doesn't handle docs with no content, so the
// Production Manager substitutes a single space.
assertNotNull(in);