23b7abee39b4b8ed01626f88861834a8e808d226
[controller.git] / opendaylight / config / config-persister-file-xml-adapter / src / test / java / org / opendaylight / controller / config / persist / storage / file / xml / model / ConfigTest.java
1 package org.opendaylight.controller.config.persist.storage.file.xml.model;
2
3 import java.io.File;
4 import org.junit.Test;
5
6 public class ConfigTest {
7
8     @Test(expected = IllegalArgumentException.class)
9     public void testFromXml() throws Exception {
10         Config.fromXml(new File(getClass().getResource("/illegalSnapshot.xml").getFile()));
11     }
12 }