### Question:
SlingMvcServletRequest extends SlingHttpServletRequestWrapper { @Override public Object getAttribute(String name) { if (INCLUDE_REQUEST_URI_ATTRIBUTE.equals(name)) { return getServletPath() + getRequestPathInfo().getSuffix(); } if (INCLUDE_SERVLET_PATH_ATTRIBUTE.equals(name)) { return getServletPath(); } return super.getAttribute(name); } SlingMvcServletRequest(SlingHttpServletRequest request); @Override Object getAttribute(String name); @Override String getServletPath();  }### Answer:
@Test public void testIncludeServletPathIsSameAsServletPath() { assertThat(this.testee.getAttribute(INCLUDE_SERVLET_PATH_ATTRIBUTE)) .isEqualTo("/bin/mvc.do"); }
@Test public void testIncludeContextPathIsSameAsServletPath() { assertThat(this.testee.getAttribute(INCLUDE_REQUEST_URI_ATTRIBUTE)) .isEqualTo("/bin/mvc.do/controllerPath"); }
@Test public void testOtherAttributesAreFetchedFromTheOriginalRequest() { this.testee.getAttribute("other.attribute"); verify(this.request).getAttribute("other.attribute"); }