test_class.declarator: servletContext
test_class.modifier: private
test_class.original_string: private ServletContextImpl servletContext;
test_class.type: ServletContextImpl
test_class.var_name: servletContext
test_class.declarator: servletContextHelper = new ServletContextHelper()
test_class.modifier: private
test_class.original_string: private ServletContextHelper servletContextHelper = new ServletContextHelper();
test_class.type: ServletContextHelper
test_class.var_name: servletContextHelper
test_class.file: http/src/test/java/ro/polak/http/servlet/helper/ServletContextHelperTest.java
test_class.identifier: ServletContextHelperTest
test_case.body: @Test
      public void shouldNotResolveContextIfNoMatch() {
          assertThat(servletContextHelper.getResolvedContext(Arrays.asList(servletContext),
                  "/invalid/someurl"), is(nullValue()));
      }
test_case.class_method_signature: ServletContextHelperTest.shouldNotResolveContextIfNoMatch()
test_case.full_signature: @Test public void shouldNotResolveContextIfNoMatch()
test_case.identifier: shouldNotResolveContextIfNoMatch
test_case.invocations: assertThat getResolvedContext asList is nullValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldNotResolveContextIfNoMatch()
focal_class.file: http/src/main/java/ro/polak/http/servlet/helper/ServletContextHelper.java
focal_class.identifier: ServletContextHelper
focal_class.class_method_signature: ServletContextHelper.getResolvedServletMapping(final ServletContext servletContext, final String path)
focal_class.full_signature: public ServletMapping getResolvedServletMapping(final ServletContext servletContext, final String path)
focal_class.identifier: getResolvedServletMapping
focal_class.modifiers: public
focal_class.parameters: (final ServletContext servletContext, final String path)
focal_class.return: ServletMapping
focal_class.signature: ServletMapping getResolvedServletMapping(final ServletContext servletContext, final String path)
focal_class.class_method_signature: ServletContextHelper.getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)
focal_class.full_signature: public ServletContextImpl getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)
focal_class.identifier: getResolvedContext
focal_class.modifiers: public
focal_class.parameters: (final List<ServletContextImpl> servletContexts, final String path)
focal_class.return: ServletContextImpl
focal_class.signature: ServletContextImpl getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)
focal_class.class_method_signature: ServletContextHelper.getFilterMappingsForPath(final ServletContext servletContext, final String path)
focal_class.full_signature: public List<FilterMapping> getFilterMappingsForPath(final ServletContext servletContext, final String path)
focal_class.identifier: getFilterMappingsForPath
focal_class.modifiers: public
focal_class.parameters: (final ServletContext servletContext, final String path)
focal_class.return: List<FilterMapping>
focal_class.signature: List<FilterMapping> getFilterMappingsForPath(final ServletContext servletContext, final String path)
focal_class.class_method_signature: ServletContextHelper.getPathInContext(final ServletContext servletContext, final String path)
focal_class.full_signature: private String getPathInContext(final ServletContext servletContext, final String path)
focal_class.identifier: getPathInContext
focal_class.modifiers: private
focal_class.parameters: (final ServletContext servletContext, final String path)
focal_class.return: String
focal_class.signature: String getPathInContext(final ServletContext servletContext, final String path)
focal_method.body: public ServletContextImpl getResolvedContext(final List<ServletContextImpl> servletContexts, final String path) {
          for (ServletContextImpl servletContext : servletContexts) {
              if (path.startsWith(servletContext.getContextPath())) {
                  return servletContext;
              }
          }
          return null;
      }
focal_method.class_method_signature: ServletContextHelper.getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)
focal_method.full_signature: public ServletContextImpl getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)
focal_method.identifier: getResolvedContext
focal_method.invocations: startsWith getContextPath
focal_method.modifiers: public
focal_method.parameters: (final List<ServletContextImpl> servletContexts, final String path)
focal_method.return: ServletContextImpl
focal_method.signature: ServletContextImpl getResolvedContext(final List<ServletContextImpl> servletContexts, final String path)