2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.yangtools.yang.stmt;
11 import java.io.IOException;
12 import java.net.URISyntaxException;
13 import org.junit.Test;
14 import org.opendaylight.yangtools.yang.model.parser.api.YangSyntaxErrorException;
15 import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
16 import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
18 public class Bug6131Test {
19 @Test(expected = NullPointerException.class)
20 public void test() throws ReactorException, URISyntaxException, SourceException, IOException,
21 YangSyntaxErrorException {
22 StmtTestUtils.parseYangSources("/bugs/bug6131");