AnonymousOdsDocument implements OdsDocument { static AnonymousOdsDocument create(final Logger logger, final XMLUtil xmlUtil, final OdsElements odsElements) { return new AnonymousOdsDocument(logger, xmlUtil, odsElements, new CommonOdsDocument(odsElements)); } private  AnonymousOdsDocument(final Logger logger, final XMLUtil xmlUtil,
                                 final OdsElements odsElements,
                                 final CommonOdsDocument commonOdsDocument); @Override Table addTable(final String name); @Override Table addTable(final String name, final int rowCapacity, final int columnCapacity); @Override boolean addTable(final Table table); @Override Table createTable(final String name); @Override Table createTable(final String name, final int rowCapacity, final int columnCapacity); @Override void addExtraFile(final String fullPath, final String mediaType, final byte[] bytes); @Override void addExtraDir(final String fullPath); @Override void addExtraObject(final String fullPath, final String mediaType,
                               final String version); @Override void addEvents(final ScriptEventListener... events); @Override void addPilotTable(final PilotTable pilot); @Override void addAutoFilter(final AutoFilter autoFilter); @Override Table getTable(final int n); @Override Table getTable(final String name); @Override Table getOrAddTable(final String name); @Override String getTableName(final int n); @Override int getTableNumber(final String name); @Override List<Table> getTables(); @Override boolean setActiveTable(final int tableIndex); @Override void setViewSetting(final String viewId, final String item, final String value); @Override int tableCount(); @Override @Deprecated void addAutoFilter(final String rangeName, final Table table, final int r1, final int c1,
                              final int r2, final int c2); @Override void freezeCells(final Table table, final int rowCount, final int colCount); @Override void setDataStylesMode(final Container.Mode mode); @Override void setMasterPageStyleMode(final Container.Mode mode); @Override void setPageLayoutStyleMode(final Container.Mode mode); @Override void setPageStyleMode(final Container.Mode mode); @Override void setObjectStyleMode(final Container.Mode mode);  }
@Test public void testCreate() { PowerMock.resetAll(); TestHelper.initMockDocument(this.odsElements); PowerMock.replayAll(); this.document = this.getDocument(); PowerMock.verifyAll(); }