import org.opendaylight.yangtools.yang.model.api.type.LeafrefTypeDefinition;
import org.opendaylight.yangtools.yang.model.api.type.RangeConstraint;
import org.opendaylight.yangtools.yang.model.api.type.UnionTypeDefinition;
+import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
+import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
/**
* Test suite for testing public methods in TypeProviderImpl class
private SchemaNode schemaNode;
@Before
- public void setUp() throws Exception {
+ public void setUp() throws SourceException, ReactorException {
MockitoAnnotations.initMocks(this);
this.schemaContext = TypeProviderModel.createTestContext();
assertNotNull(this.schemaContext);