*/
public TestEnvironment createTestEnvironment(
TestParameters tParam, PrintWriter log ) throws StatusException {
XInterface oObj = null;
XChapterNumberingSupplier oCNSupp = (XChapterNumberingSupplier)
UnoRuntime.queryInterface(XChapterNumberingSupplier.class,xTextDoc);
oObj = oCNSupp.getChapterNumberingRules();
PropertyValue[] instance1 = null;
try {
instance1 = (PropertyValue[]) oCNSupp.getChapterNumberingRules().getByIndex(1);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
e.printStackTrace();
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
}