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.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.restconf.restconf.modules;
11 import static org.junit.Assert.assertEquals;
12 import static org.junit.Assert.assertNotNull;
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;
17 public class ModuleRevisionBuilderTest {
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());