X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2FNodeIdentifierFactoryTest.java;h=3f5ecc68f0cabc934db345ed4441d53a6424b4ed;hb=4e696d9795fe7eef40369c05c340d137394126f3;hp=d9ad69e54824b9b78bdd58ece74c45c15aa44768;hpb=5679203b147817962534344db273e4f2109fd949;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java index d9ad69e548..3f5ecc68f0 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/NodeIdentifierFactoryTest.java @@ -9,20 +9,19 @@ package org.opendaylight.controller.cluster.datastore.node.utils; import static org.junit.Assert.assertTrue; + import org.junit.Test; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; public class NodeIdentifierFactoryTest { - @Test - public void validateAugmentationIdentifier() { - YangInstanceIdentifier.PathArgument argument = - NodeIdentifierFactory - .getArgument("AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)flow-table-statistics]}"); - - assertTrue(argument instanceof YangInstanceIdentifier.AugmentationIdentifier); - + @Test + public void validateAugmentationIdentifier() { + YangInstanceIdentifier.PathArgument argument = NodeIdentifierFactory.getArgument( + "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)" + + "flow-table-statistics]}"); - } + assertTrue(argument instanceof YangInstanceIdentifier.AugmentationIdentifier); + } }