* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.netconf.mdsal.notification.impl;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.verify;
import java.util.Collection;
-import javax.annotation.Nonnull;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.MockitoAnnotations;
import org.opendaylight.mdsal.binding.api.DataBroker;
import org.opendaylight.mdsal.binding.api.DataTreeIdentifier;
+import org.opendaylight.mdsal.binding.api.DataTreeModification;
import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
final OperationalDatastoreListener<DataObject> op =
new OperationalDatastoreListener<DataObject>(instanceIdentifier) {
@Override
- public void onDataTreeChanged(@Nonnull final Collection collection) {
+ public void onDataTreeChanged(final Collection<DataTreeModification<DataObject>> collection) {
}
};
doReturn(null).when(dataBroker).registerDataTreeChangeListener(any(), any());
assertEquals(testId, argumentId.getValue());
}
-
}