Make DataTreeTip.prepare() throw a checked exception
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / Bug4454Test.java
index e33347e08cfa42515ce0c8721e2ddd88a679ae6a..4241ea6192df94d2bb5c68e9d00a0ee8cf732e63 100644 (file)
@@ -118,7 +118,7 @@ public class Bug4454Test {
     }
 
     @Before
-    public void prepare() {
+    public void prepare() throws DataValidationFailedException {
         inMemoryDataTree =  new InMemoryDataTreeFactory().create(DataTreeConfiguration.DEFAULT_OPERATIONAL,
             schemaContext);
         final DataTreeSnapshot initialDataTreeSnapshot = inMemoryDataTree.takeSnapshot();