throws Exception
{
File descriptorFile = new File( testBaseDir() + "src/site/", "model_builder_site.xml" );
DecorationModel dModel = getDecorationModelFromFile( descriptorFile );
DocumentModel model =
new DocumentModelBuilder( new ModelBuilderMavenProjectStub(), dModel ).getDocumentModel();
DocumentTOC toc = model.getToc();
assertEquals( 1, toc.getItems().size() );
assertEquals( "Intro", ( (DocumentTOCItem) toc.getItems().get( 0 ) ).getName() );
assertEquals( "index.html", ( (DocumentTOCItem) toc.getItems().get( 0 ) ).getRef() );