@@ -0,0 +1,1012 @@
+/*%0A * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.%0A *%0A * This program and the accompanying materials are made available under the%0A * terms of the Eclipse Public License v1.0 which accompanies this distribution,%0A * and is available at http://www.eclipse.org/legal/epl-v10.html%0A */%0Apackage org.opendaylight.yangtools.yang.common;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.util.AbstractMap.SimpleImmutableEntry;%0Aimport org.junit.Test;%0A%0Apublic class YangNamesTest %7B%0A    @Test%0A    public void testParseFileName() %7B%0A        assertEquals(new SimpleImmutableEntry%3C%3E(%22foo%22, null), YangNames.parseFilename(%22foo%22));%0A        assertEquals(new SimpleImmutableEntry%3C%3E(%22foo%22, %22bar%22), YangNames.parseFilename(%22foo@bar%22));%0A        assertEquals(new SimpleImmutableEntry%3C%3E(%22foo@bar%22, %22baz%22), YangNames.parseFilename(%22foo@bar@baz%22));%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testParseFileNameNull() %7B%0A        YangNames.parseFilename(null);%0A    %7D%0A%7D%0A

Add YangNames test