Generate @param for RPC invocation methods
[mdsal.git] / binding / mdsal-binding-generator-util / src / test / java / org / opendaylight / mdsal / binding / model / util / generated / type / builder / GeneratedPropertyTest.java
index 5e3ef4e37f58fb07549aab8ef57e91a82b3a9344..00e3dc7d504350dad9a0cdc788eb91aac748df22 100644 (file)
@@ -14,6 +14,7 @@ import static org.junit.Assert.assertTrue;
 import org.junit.Test;
 import org.opendaylight.mdsal.binding.model.api.AccessModifier;
 import org.opendaylight.mdsal.binding.model.api.GeneratedProperty;
+import org.opendaylight.mdsal.binding.model.api.TypeMemberComment;
 
 public class GeneratedPropertyTest {
 
@@ -32,8 +33,9 @@ public class GeneratedPropertyTest {
 
     @Test
     public void testMethodsForGeneratedPropertyImpl() {
-        final GeneratedPropertyImpl propertyImpl = new GeneratedPropertyImpl(null, "Test", null, "test property",
-            AccessModifier.PRIVATE, null, true, true, true, "test value");
+        final GeneratedPropertyImpl propertyImpl = new GeneratedPropertyImpl(null, "Test", null,
+            TypeMemberComment.contractOf("test property"), AccessModifier.PRIVATE, null, true, true, true,
+            "test value");
 
         assertEquals("test value", propertyImpl.getValue());
         assertTrue(propertyImpl.isReadOnly());