blob: e160d939affde021bf1002b93f89155e251c0071 [file] [log] [blame]
Sean Condonfae8e662016-12-15 10:25:13 +00001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Sean Condonfae8e662016-12-15 10:25:13 +00003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.drivers.netconf;
17
18import static org.junit.Assert.assertNotNull;
19
20import org.junit.After;
21import org.junit.Before;
22import org.junit.Test;
23import org.onosproject.net.behaviour.ControllerConfig;
24
25public class NetconfControllerConfigTest {
26
27 private ControllerConfig netconfCtlConfig;
28
29 @Before
30 public void setUp() throws Exception {
31 netconfCtlConfig = new NetconfControllerConfig();
32 netconfCtlConfig.setHandler(new MockDriverHandler());
33// netconfCtlConfig.setControllers(Arrays.asList(new ControllerInfo[]{}));
34 }
35
36 @After
37 public void tearDown() throws Exception {
38 }
39
40 @Test
41 public void testGetControllers() {
42 assertNotNull(netconfCtlConfig.getControllers());
43
44 }
45
46}