### Question:
WebContextServlet extends HttpServlet { List<String> getWebResources( String context, String filePattern ) { Set<IPlatformWebResource> resources = this.contextResourcesMap.get( context ); if ( CollectionUtils.isNotEmpty( resources ) ) { List<String> webResources = resources.stream() .filter( iPlatformWebResource -> iPlatformWebResource.getLocation().matches( filePattern ) ) .map( IPlatformWebResource::getLocation ) .collect( Collectors.toList() ); return webResources; } return Collections.EMPTY_LIST; }  void setRequireWaitTime( Integer value ); Integer getRequireWaitTime(); void setServicesRoot( String value ); String getServicesRoot(); @Override void destroy(); void addPlatformWebResource( IPlatformWebResource resource ); void removePlatformWebResource( IPlatformWebResource resource );  }### Answer:
@Test public void testGetWebResources_NoMatches() throws Exception { List<String> webResources = webContextServlet.getWebResources( "analyzer", ".*\\.js" ); assertNotNull( webResources ); assertEquals( 0, webResources.size() ); }