### Question:
ResourceUtils { public static boolean isResourceAccessible(String path) { try { return ResourceUtils.class.getClassLoader().getResource(path) != null; } catch (RuntimeException e) { LOGGER.debug("Failed to acquire resource URL for path: " + path, e); return false; } } private  ResourceUtils(); static boolean isResourceAccessible(String path); static boolean isFileReadable(String path);  }### Answer:
@Test public void isResourceAccessibleShouldReturnTrueIfResourceExistsOnClasspath() { Assert.assertTrue(ResourceUtils.isResourceAccessible("digidoc4j.yaml")); }
@Test public void isResourceAccessibleShouldReturnFalseIfResourceDoesNotExist() { Assert.assertFalse(ResourceUtils.isResourceAccessible("non_existing_resource")); }