when(module.getName()).thenReturn("test-module-case");
final DataSchemaNode schemaNode = mock(DataSchemaNode.class);
when(module.getDataChildByName(qnamePath)).thenReturn(schemaNode);
+ when(module.getRevision()).thenReturn(qnamePath.getRevision());
+ when(module.getNamespace()).thenReturn(qnamePath.getNamespace());
final String pckgName = "test.augment.choice.cases";
final Type targetType = mock(Type.class);
final Set<DataSchemaNode> augmentNodes = new HashSet<>();
final ChoiceCaseNode schemaNode = mock(ChoiceCaseNode.class);
when(schemaNode.getPath()).thenReturn(path);
when(module.getDataChildByName(qnamePath)).thenReturn(schemaNode);
+ when(module.getRevision()).thenReturn(qnamePath.getRevision());
+ when(module.getNamespace()).thenReturn(qnamePath.getNamespace());
final String pckgName = "test.augment.choice.cases";
final Type targetType = mock(Type.class);
final Set<DataSchemaNode> augmentNodes = new HashSet<>();