Added instance identifier support.
[yangtools.git] / code-generator / binding-generator-impl / src / test / java / org / opendaylight / yangtools / sal / binding / generator / impl / GeneratedTypesTest.java
index e82b24ba40d66687cc9b88d58ae30ec4fb40dde9..0658adaec3469117577cf2373432e5fd56200413 100644 (file)
@@ -158,7 +158,7 @@ public class GeneratedTypesTest {
         MethodSignature getIfcKey = null;\r
         MethodSignature getHigherLayerIf = null;\r
         for (final MethodSignature method : gtIfcMethods) {\r
-            if (method.getName().equals("getInterfaceKey")) {\r
+            if (method.getName().equals("getKey")) {\r
                 getIfcKey = method;\r
             } else if (method.getName().equals("getHigherLayerIf")) {\r
                 getHigherLayerIf = method;\r
@@ -226,7 +226,7 @@ public class GeneratedTypesTest {
         assertNotNull(gtTunnelMethods);\r
         MethodSignature getTunnelKey = null;\r
         for (MethodSignature method : gtTunnelMethods) {\r
-            if (method.getName().equals("getTunnelKey")) {\r
+            if (method.getName().equals("getKey")) {\r
                 getTunnelKey = method;\r
             }\r
         }\r
@@ -459,7 +459,7 @@ public class GeneratedTypesTest {
                     simpleListMethodsCount = genType.getMethodDefinitions().size();\r
                     final List<MethodSignature> methods = genType.getMethodDefinitions();\r
                     for (final MethodSignature method : methods) {\r
-                        if (method.getName().equals("getSimpleListKey")) {\r
+                        if (method.getName().equals("getKey")) {\r
                             getSimpleListKeyMethodCount++;\r
                             getSimpleListKeyMethodReturnTypeName = method.getReturnType().getName();\r
                         } else if (method.getName().equals("getListChildContainer")) {\r