Bump upstreams for Silicon
[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 public abstract class AbstractCodecTest {
17     static BindingCodecContext SERIALIZER;
18
19     @BeforeClass
20     public static void beforeClass()  {
21         SERIALIZER = new BindingCodecContext(BindingRuntimeHelpers.createRuntimeContext(Netconf.class));
22     }
23
24     @AfterClass
25     public static void afterClass()  {
26         SERIALIZER = null;
27     }
28 }