Bump versions to 2.0.0-SNAPSHOT
[netconf.git] / netconf / messagebus-netconf / src / test / java / org / opendaylight / netconf / messagebus / eventsources / netconf / AbstractCodecTest.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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 package org.opendaylight.netconf.messagebus.eventsources.netconf;
9
10 import org.junit.AfterClass;
11 import org.junit.BeforeClass;
12 import org.opendaylight.mdsal.binding.dom.codec.impl.BindingCodecContext;
13 import org.opendaylight.mdsal.binding.runtime.spi.BindingRuntimeHelpers;
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.Netconf;
15
16 @Deprecated(forRemoval = true)
17 public abstract class AbstractCodecTest {
18     static BindingCodecContext SERIALIZER;
19
20     @BeforeClass
21     public static void beforeClass()  {
22         SERIALIZER = new BindingCodecContext(BindingRuntimeHelpers.createRuntimeContext(Netconf.class));
23     }
24
25     @AfterClass
26     public static void afterClass()  {
27         SERIALIZER = null;
28     }
29 }