### Question:
KiteURIHandler implements URIHandler { @Override public boolean unregisterFromNotification(final URI uri, final String actionID) { throw new UnsupportedOperationException( "Notifications are not supported for " + uri); }  @Override void init(final Configuration conf); @Override Set<String> getSupportedSchemes(); @Override Class<? extends LauncherURIHandler> getLauncherURIHandlerClass(); @Override List<Class<?>> getClassesForLauncher(); @Override DependencyType getDependencyType(final URI uri); @Override void registerForNotification(final URI uri, final Configuration conf,
      final String user, final String actionID); @Override boolean unregisterFromNotification(final URI uri, final String actionID); @Override Context getContext(final URI uri, final Configuration conf,
      final String user); @SuppressWarnings("rawtypes") @Override boolean exists(final URI uri, final Context context); @Override boolean exists(final URI uri, final Configuration conf, final String user); @Override String getURIWithDoneFlag(final String uri, final String doneFlag); @Override void validate(final String uri); @Override void destroy();  }### Answer:
@Test (expected = UnsupportedOperationException.class) public void unregisterNotifications() throws URISyntaxException { URI uri = new URI("view:hdfs: uriHandler.unregisterFromNotification(uri, "2324"); }