*/
package org.opendaylight.yangtools.binding.generator.util;
-import org.junit.Test;
-import org.opendaylight.yangtools.yang.binding.*;
-
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.opendaylight.yangtools.binding.generator.util.Types.typeForClass;
+import org.junit.Test;
+import org.opendaylight.yangtools.sal.binding.model.api.ParameterizedType;
+import org.opendaylight.yangtools.yang.binding.Augmentable;
+import org.opendaylight.yangtools.yang.binding.Augmentation;
+import org.opendaylight.yangtools.yang.binding.BaseIdentity;
+import org.opendaylight.yangtools.yang.binding.DataObject;
+import org.opendaylight.yangtools.yang.binding.DataRoot;
+import org.opendaylight.yangtools.yang.binding.Identifiable;
+import org.opendaylight.yangtools.yang.binding.Identifier;
+import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.binding.Notification;
+import org.opendaylight.yangtools.yang.binding.NotificationListener;
+import org.opendaylight.yangtools.yang.binding.RpcService;
+
public class BindingTypesTest {
@Test
assertEquals("NOTIFICATION_LISTENER", typeForClass(NotificationListener.class), BindingTypes.NOTIFICATION_LISTENER);
assertEquals("RPC_SERVICE", typeForClass(RpcService.class), BindingTypes.RPC_SERVICE);
}
+
+ @Test
+ public void testAugmentable() {
+ ParameterizedType augmentType = BindingTypes.augmentable(null);
+ assertNotNull(augmentType);
+ }
+
+ @Test
+ public void testChildOf() {
+ ParameterizedType childOfType = BindingTypes.childOf(null);
+ assertNotNull(childOfType);
+ }
}
\ No newline at end of file