2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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
8 package org.opendaylight.yangtools.yang.parser.spi;
10 import static org.junit.Assert.assertNotNull;
12 import org.junit.Test;
14 public class NamespaceTest {
16 public void testNamespaces() {
18 // FIXME: add more checks/split this up when behaviours are testable
19 assertNotNull(ExtensionNamespace.BEHAVIOUR);
20 assertNotNull(GroupingNamespace.BEHAVIOUR);
21 assertNotNull(IdentityNamespace.BEHAVIOUR);
22 assertNotNull(ModuleNamespace.BEHAVIOUR);
23 assertNotNull(PreLinkageModuleNamespace.BEHAVIOUR);
24 assertNotNull(SubmoduleNamespace.BEHAVIOUR);
25 assertNotNull(TypeNamespace.BEHAVIOUR);
27 assertNotNull(NamespaceToModule.BEHAVIOUR);