### Question:
URLHelper { public static boolean isClassPathURLExisting (@Nonnull @Nonempty final String sPath) { return getClassPathURL (sPath) != null; } private  URLHelper(); @Nonnull static String urlDecode(@Nonnull final String sValue); @Nonnull static String urlDecode(@Nonnull final String sValue, @Nonnull final Charset aCharset); @Nullable static String urlDecodeOrNull(@Nonnull final String sValue); @Nullable static String urlDecodeOrNull(@Nullable final String sValue, @Nonnull final Charset aCharset); @Nullable static String urlDecodeOrDefault(@Nonnull final String sValue, @Nullable final String sDefault); @Nullable static String urlDecodeOrDefault(@Nullable final String sValue, @Nonnull final Charset aCharset, @Nullable final String sDefault); @Nonnull static String urlEncode(@Nonnull final String sValue); @Nonnull static String urlEncode(@Nonnull final String sValue, @Nonnull final Charset aCharset); @Nullable static String getCleanURLPartWithoutUmlauts(@Nullable final String sURLPart); @Nonnull static ISimpleURL getAsURLData(@Nonnull final String sHref); @Nonnull static ISimpleURL getAsURLData(@Nonnull final String sHref, @Nullable final IDecoder <String, String> aParameterDecoder); @Nonnull @ReturnsMutableCopy static URLParameterList getParsedQueryParameters(@Nullable final String sQueryString,
                                                           @Nullable final IDecoder <String, String> aParameterDecoder); @Nonnull @ReturnsMutableCopy static URLParameterList getParsedQueryParameters(@Nullable final String sQueryString); @Nullable static String getURLString(@Nullable final String sPath, @Nullable final String sQueryParams, @Nullable final String sAnchor); @Nullable static String getQueryParametersAsString(@Nullable final List <? extends URLParameter> aQueryParams,
                                                   @Nullable final IEncoder <String, String> aQueryParameterEncoder); @Nonnull static String getURLString(@Nonnull final ISimpleURL aURL, @Nullable final Charset aParameterCharset); @Nullable static String getURLString(@Nullable final String sPath,
                                     @Nullable final List <? extends URLParameter> aQueryParams,
                                     @Nullable final String sAnchor,
                                     @Nullable final IEncoder <String, String> aQueryParameterEncoder); @Nullable static String getURLString(@Nullable final String sPath,
                                     @Nullable final List <? extends URLParameter> aQueryParams,
                                     @Nullable final String sAnchor,
                                     @Nullable final Charset aParameterCharset); @Nullable static URL getAsURL(@Nullable final String sURL, final boolean bWhine); @Nullable static URL getAsURL(@Nullable final String sURL); @Nullable static URL getAsURL(@Nullable final URI aURI); @Nullable static URI getAsURI(@Nullable final String sURI); @Nullable static URI getAsURI(@Nullable final URL aURL); @Nullable static InputStream getInputStream(@Nonnull final URL aURL,
                                            @CheckForSigned final int nConnectTimeoutMS,
                                            @CheckForSigned final int nReadTimeoutMS,
                                            @Nullable final Consumer <? super URLConnection> aConnectionModifier,
                                            @Nullable final IMutableWrapper <IOException> aExceptionHolder); @Nonnull static File getAsFile(@Nonnull final URL aURL); @Nullable static File getAsFileOrNull(@Nonnull final URL aURL); @Nullable static URL getClassPathURL(@Nonnull @Nonempty final String sPath); static boolean isClassPathURLExisting(@Nonnull @Nonempty final String sPath); static boolean isClassPathURLExisting(@Nonnull @Nonempty final String sPath, @Nonnull final ClassLoader aClassLoader); static final Charset CHARSET_URL_OBJ; static final char QUESTIONMARK; static final String QUESTIONMARK_STR; static final char AMPERSAND; static final String AMPERSAND_STR; static final char EQUALS; static final String EQUALS_STR; static final char HASH; static final String HASH_STR; static final String PROTOCOL_FILE; }### Answer:
@Test public void testIsClassPathURLExisting () { assertTrue (URLHelper.isClassPathURLExisting ("/test1.txt")); assertFalse (URLHelper.isClassPathURLExisting ("/test1 not existing.txt")); }