import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
+
+import org.opendaylight.yangtools.yang.model.util.ExtendedType;
+
import java.net.URI;
import org.junit.Test;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.SimpleDateFormatUtil;
import org.opendaylight.yangtools.yang.model.api.LeafSchemaNode;
import org.opendaylight.yangtools.yang.model.util.BooleanType;
-import org.opendaylight.yangtools.yang.model.util.Decimal64;
import org.opendaylight.yangtools.yang.model.util.Int16;
import org.opendaylight.yangtools.yang.model.util.Int32;
import org.opendaylight.yangtools.yang.model.util.Int64;
final LeafSchemaNode lfDecimalNode = (LeafSchemaNode) result.getDataChildByName(lfDecimal);
assertNotNull(lfDecimalNode);
- final Decimal64 lfDecimalNodeType = (Decimal64) lfDecimalNode.getType();
- assertEquals(Decimal64.class, lfDecimalNodeType.getClass());
+ final ExtendedType lfDecimalNodeType = (ExtendedType) lfDecimalNode.getType();
+ assertEquals(ExtendedType.class, lfDecimalNodeType.getClass());
assertEquals(2, lfDecimalNodeType.getFractionDigits().intValue());
final LeafSchemaNode lfInt8Node = (LeafSchemaNode) result.getDataChildByName(lfInt8);