### Question:
FacesNavigationURLCanonicalizer { public static String normalizeRequestURI(final FacesContext context, final String viewId) { ExternalContext externalContext = context.getExternalContext(); return normalizeRequestURI(externalContext.getRequestServletPath(), externalContext.getRequestPathInfo(), viewId); }  static String normalizeRequestURI(final FacesContext context, final String viewId); static String normalizeRequestURI(final String servletPath, final String requestPathInfo, final String viewId);  }### Answer:
@Test public void testNormalizeRequestUriWithNullArguments() { assertEquals(null, FacesNavigationURLCanonicalizer.normalizeRequestURI(null, null, null)); }
@Test public void testNormalizeRequestUriWithExtensionMapping() { assertEquals("/page2.jsf", FacesNavigationURLCanonicalizer.normalizeRequestURI("/page1.jsf", null, "/page2.jsf")); }
@Test public void testNormalizeRequestUriWithPathMapping() { assertEquals("/page2.xhtml", FacesNavigationURLCanonicalizer.normalizeRequestURI("/faces", "/page1.xhtml", "/faces/page2.xhtml")); }