@Test
public void testAddGrammarDocument() throws Exception {

    final SrgsXmlDocument srgsdocument = new SrgsXmlDocument();
    final Grammar grammar = srgsdocument.getGrammar();
    final GrammarDocument document = new InternalGrammarDocument(grammar);
    storage.addGrammarDocument("12345", document);
    final URI uri = document.getURI();
    Assert.assertNotNull(uri);
    final URI path = new URI(uri.getPath());
    Assert.assertEquals(document, storage.getDocument(path));
}