Update MRI projects for Aluminium
[bgpcep.git] / bgp / rib-spi / src / test / java / org / opendaylight / protocol / bgp / rib / spi / AbstractRIBActivatorTest.java
1 /*
2  * Copyright (c) 2018 AT&T Intellectual Property. 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.protocol.bgp.rib.spi;
9
10 import org.opendaylight.mdsal.binding.dom.adapter.AdapterContext;
11 import org.opendaylight.mdsal.binding.dom.adapter.test.AbstractConcurrentDataBrokerTest;
12 import org.opendaylight.mdsal.binding.dom.adapter.test.AbstractDataBrokerTestCustomizer;
13
14 public abstract class AbstractRIBActivatorTest extends AbstractConcurrentDataBrokerTest {
15     protected AdapterContext context;
16
17     @Override
18     protected final AbstractDataBrokerTestCustomizer createDataBrokerTestCustomizer() {
19         final AbstractDataBrokerTestCustomizer customizer = super.createDataBrokerTestCustomizer();
20         this.context = customizer.getAdapterContext();
21         return customizer;
22     }
23 }