private void testTraversalContext(TraversalContext traversalContext,
long dataSize, Content contentState) throws RepositoryException {
DocumentList list = getObjectUnderTest(traversalContext, dataSize);
Document doc = list.nextDocument();
Property content = doc.findProperty(SpiConstants.PROPNAME_CONTENT);
if (contentState == Content.NULL) {
assertNull("Expected null content", content);
} else if (contentState == Content.NON_NULL) {
assertNotNull("Expected non-null content", content);
} else {