f3ab6f96dcd52e08bed55cb213d50592615cdb76
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / restconf / rev131019 / DatastoreIdentifierBuilderTest.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;
10
11 import static org.junit.Assert.assertNotNull;
12
13 import org.junit.Test;
14
15 public class DatastoreIdentifierBuilderTest {
16
17     @Test(expected = IllegalArgumentException.class)
18     public void testDatastoreIdentifierBuilder() {
19         final DatastoreIdentifierBuilder datastoreIdentifierBuilder = new DatastoreIdentifierBuilder();
20         assertNotNull(datastoreIdentifierBuilder);
21         DatastoreIdentifierBuilder.getDefaultInstance("");
22     }
23 }