### Question:
DispatcherStreamLocator { public static boolean isIncludedRequest(final HttpServletRequest request) { notNull(request); return request.getAttribute(ATTRIBUTE_INCLUDED_BY_DISPATCHER) != null; }  InputStream getInputStream(final HttpServletRequest request, final HttpServletResponse response,
      final String location); InputStream locateExternal(final HttpServletRequest request, final String location); static boolean isIncludedRequest(final HttpServletRequest request); void setTimeout(final int timeout); int getTimeout(); static final String ATTRIBUTE_INCLUDED_BY_DISPATCHER; }### Answer:
@Test(expected = NullPointerException.class) public void cannotCheckNullRequestAsIncluded() { DispatcherStreamLocator.isIncludedRequest(null); }
@Test public void shouldNotBeIncludedRequestByDefault() { assertFalse(DispatcherStreamLocator.isIncludedRequest(mockRequest)); }