DOMNotificationRouter implements AutoCloseable, DOMNotificationPublishService,
        DOMNotificationService, DOMNotificationSubscriptionListenerRegistry { public static DOMNotificationRouter create(int maxQueueCapacity) { return new DOMNotificationRouter(maxQueueCapacity); } @VisibleForTesting  DOMNotificationRouter(int maxQueueCapacity); static DOMNotificationRouter create(int maxQueueCapacity); @Override synchronized ListenerRegistration<T> registerNotificationListener(
            final T listener, final Collection<Absolute> types); @Override ListenerRegistration<L> registerSubscriptionListener(
            final L listener); @Override ListenableFuture<? extends Object> putNotification(final DOMNotification notification); @Override ListenableFuture<? extends Object> offerNotification(final DOMNotification notification); @Override ListenableFuture<? extends Object> offerNotification(final DOMNotification notification, final long timeout,
            final TimeUnit unit); @Override void close();  }
@Test public void create() throws Exception { assertNotNull(DOMNotificationRouter.create(1024)); }