import static org.junit.Assert.assertTrue;
import java.net.URI;
-import java.net.URISyntaxException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Collection;
private Set<Module> modules;
@Before
- public void init() throws URISyntaxException, ReactorException {
+ public void init() throws Exception {
modules = TestUtils.loadModules(getClass().getResource("/model").toURI());
assertEquals(3, modules.size());
}
}
@Test
- public void testAddedByUsesLeafTypeQName() throws URISyntaxException, ReactorException {
+ public void testAddedByUsesLeafTypeQName() throws Exception {
final Set<Module> loadModules = TestUtils.loadModules(getClass().getResource("/added-by-uses-leaf-test")
.toURI());