578d2dd8e48732e21b7bf6f87c9ecbb70ccd0ea1
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / restconf / rev131019 / restconf / restconf / modules / ModuleRevisionBuilderTest.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.restconf.restconf.modules;
10
11 import static org.junit.Assert.assertEquals;
12 import static org.junit.Assert.assertNotNull;
13
14 import org.junit.Test;
15 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.restconf.restconf.modules.Module.Revision;
16
17 public class ModuleRevisionBuilderTest {
18
19     @Test
20     public void testModuleRevisionBuilder() {
21         final ModuleRevisionBuilder moduleRevisionBuilder = new ModuleRevisionBuilder();
22         assertNotNull(moduleRevisionBuilder);
23         final Revision revision = ModuleRevisionBuilder.getDefaultInstance("");
24         assertNotNull(revision);
25         assertEquals("", revision.getString());
26         assertEquals(null, revision.getRevisionIdentifier());
27     }
28 }