Merge "Fixed for bug 1197"
[controller.git] / opendaylight / md-sal / sal-protocolbuffer-encoding / src / test / java / org / opendaylight / controller / cluster / datastore / node / utils / NodeIdentifierFactoryTest.java
1 package org.opendaylight.controller.cluster.datastore.node.utils;
2
3 import junit.framework.Assert;
4 import org.junit.Test;
5 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
6
7 public class NodeIdentifierFactoryTest {
8
9     @Test
10     public void validateAugmentationIdentifier(){
11         YangInstanceIdentifier.PathArgument argument = NodeIdentifierFactory
12             .getArgument(
13                 "AugmentationIdentifier{childNames=[(urn:opendaylight:flow:table:statistics?revision=2013-12-15)flow-table-statistics]}");
14
15         Assert.assertTrue(argument instanceof YangInstanceIdentifier.AugmentationIdentifier);
16
17
18     }
19
20 }