UriGrammarDocument implements GrammarDocument { @Override public URI getURI() { return uri; } UriGrammarDocument(final URI source, final GrammarType gramamrType,
            final ModeType modeType); @Override boolean isCacheable(); @Override void setURI(final URI source); @Override URI getURI(); @Override void setMediaType(final GrammarType gramamrType); @Override GrammarType getMediaType(); @Override void setModeType(final ModeType modeType); @Override ModeType getModeType(); @Override boolean isAscii(); @Override String getDocument(); @Override String getTextContent(); @Override byte[] getBuffer(); @Override int hashCode(); @Override boolean equals(Object obj); @Override boolean equals(final GrammarDocument obj); @Override String toString();  }
@Test public void testGetURI() throws URISyntaxException { final URI uri = new URI("http: final UriGrammarDocument doc = new UriGrammarDocument(uri, GrammarType.SRGS_XML, ModeType.VOICE); Assert.assertEquals(uri, doc.getURI()); }