@Test public void onDataTreeFailedTest() throws Exception { bindingDOMDataTreeListenerAdapter.onDataTreeFailed(ImmutableSet.of(new DOMDataTreeListeningException("test"))); verify(delegate).onDataTreeFailed(any()); }
@Override public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) { List<DataTreeListeningException> bindingCauses = new ArrayList<>(causes.size()); for (DOMDataTreeListeningException cause : causes) { bindingCauses.add(mapException(cause)); } getDelegate().onDataTreeFailed(bindingCauses); }
BindingDOMDataTreeListenerAdapter extends AbstractBindingAdapter<DataTreeListener> implements DOMDataTreeListener { @Override public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) { List<DataTreeListeningException> bindingCauses = new ArrayList<>(causes.size()); for (DOMDataTreeListeningException cause : causes) { bindingCauses.add(mapException(cause)); } getDelegate().onDataTreeFailed(bindingCauses); } }
BindingDOMDataTreeListenerAdapter extends AbstractBindingAdapter<DataTreeListener> implements DOMDataTreeListener { @Override public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) { List<DataTreeListeningException> bindingCauses = new ArrayList<>(causes.size()); for (DOMDataTreeListeningException cause : causes) { bindingCauses.add(mapException(cause)); } getDelegate().onDataTreeFailed(bindingCauses); } protected  BindingDOMDataTreeListenerAdapter(final DataTreeListener delegate, final AdapterContext codec,
            final LogicalDatastoreType store); }
BindingDOMDataTreeListenerAdapter extends AbstractBindingAdapter<DataTreeListener> implements DOMDataTreeListener { @Override public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) { List<DataTreeListeningException> bindingCauses = new ArrayList<>(causes.size()); for (DOMDataTreeListeningException cause : causes) { bindingCauses.add(mapException(cause)); } getDelegate().onDataTreeFailed(bindingCauses); } protected  BindingDOMDataTreeListenerAdapter(final DataTreeListener delegate, final AdapterContext codec,
            final LogicalDatastoreType store); @Override void onDataTreeChanged(final Collection<DataTreeCandidate> domChanges,
            final Map<DOMDataTreeIdentifier, NormalizedNode<?, ?>> domSubtrees); @Override void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes); }
BindingDOMDataTreeListenerAdapter extends AbstractBindingAdapter<DataTreeListener> implements DOMDataTreeListener { @Override public void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes) { List<DataTreeListeningException> bindingCauses = new ArrayList<>(causes.size()); for (DOMDataTreeListeningException cause : causes) { bindingCauses.add(mapException(cause)); } getDelegate().onDataTreeFailed(bindingCauses); } protected  BindingDOMDataTreeListenerAdapter(final DataTreeListener delegate, final AdapterContext codec,
            final LogicalDatastoreType store); @Override void onDataTreeChanged(final Collection<DataTreeCandidate> domChanges,
            final Map<DOMDataTreeIdentifier, NormalizedNode<?, ?>> domSubtrees); @Override void onDataTreeFailed(final Collection<DOMDataTreeListeningException> causes);  }