### Question:
RestletServiceServlet extends ServerServlet { @Override public ServletContext getServletContext() { return servlet.getServletContext(); } RestletServiceServlet(final HttpServlet servlet, Class<? extends ServiceEndpointApplication> application,
            String name); @Override String getInitParameter(String name, String defaultValue); @Override String getServletName(); @Override String getInitParameter(String name); @SuppressWarnings("unchecked") @Override Enumeration getInitParameterNames(); @Override ServletConfig getServletConfig(); @Override ServletContext getServletContext(); @Override String getServletInfo(); @Override void log(String msg); @Override void log(String message, Throwable t);  }### Answer:
@Test public void shouldGetServletContext() { restletServiceServlet.getServletContext(); verify(servlet).getServletContext(); }