Migrate to Al and reactivate some Junit tests
[transportpce.git] / pce / src / test / java / org / opendaylight / transportpce / pce / gnpy / ServiceDataStoreOperationsImplTest.java
1 /*
2  * Copyright © 2020 Orange Labs, 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.transportpce.pce.gnpy;
10
11 import org.junit.Before;
12 import org.junit.Ignore;
13 import org.junit.Test;
14 import org.mockito.Mockito;
15 import org.opendaylight.mdsal.binding.dom.codec.spi.BindingDOMCodecServices;
16 import org.opendaylight.transportpce.test.AbstractTest;
17
18 @Ignore
19 public class ServiceDataStoreOperationsImplTest extends AbstractTest {
20
21     private ServiceDataStoreOperationsImpl serviceDataStoreOperations;
22     private BindingDOMCodecServices bindingDOMCodecServices = Mockito.mock(BindingDOMCodecServices.class);
23
24     @Before
25     public void setUp() throws GnpyException {
26         serviceDataStoreOperations = new ServiceDataStoreOperationsImpl(bindingDOMCodecServices);
27     }
28
29     @Test
30     public void writeStringFile() throws GnpyException {
31         serviceDataStoreOperations.writeStringFile("filename","data");
32     }
33 }