diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-04-10 22:06:36 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-04-12 10:59:14 +0200 |
commit | c806dc87185ee3a994685561ea024cad45210036 (patch) | |
tree | 6f7cc3fed50302285ee9cd175b2a08af924933de /v3po/impl/src/test/java/io/fd | |
parent | ba4b79f78d5cc7aa65660775b52f8a58eefc2472 (diff) |
HONEYCOMB-34: Configurable serializer dependency
Change-Id: I05cb7836ec4a379f7617710a6c6f64c3541ff0c9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/impl/src/test/java/io/fd')
-rw-r--r-- | v3po/impl/src/test/java/io/fd/honeycomb/v3po/impl/data/VppDataBrokerInitializationProviderTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/v3po/impl/src/test/java/io/fd/honeycomb/v3po/impl/data/VppDataBrokerInitializationProviderTest.java b/v3po/impl/src/test/java/io/fd/honeycomb/v3po/impl/data/VppDataBrokerInitializationProviderTest.java index d8628f2bf..eb2349fb2 100644 --- a/v3po/impl/src/test/java/io/fd/honeycomb/v3po/impl/data/VppDataBrokerInitializationProviderTest.java +++ b/v3po/impl/src/test/java/io/fd/honeycomb/v3po/impl/data/VppDataBrokerInitializationProviderTest.java @@ -36,6 +36,7 @@ import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.controller.md.sal.binding.api.WriteTransaction; import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType; import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException; +import org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; public class VppDataBrokerInitializationProviderTest { @@ -48,6 +49,8 @@ public class VppDataBrokerInitializationProviderTest { private ReaderRegistry readerRegistry; @Mock private WriterRegistry writerRegistry; + @Mock + private BindingNormalizedNodeSerializer serializer; private VppDataBrokerInitializationProvider provider; @@ -56,7 +59,7 @@ public class VppDataBrokerInitializationProviderTest { public void setUp() throws Exception { initMocks(this); doReturn(writeTx).when(bindingBroker).newWriteOnlyTransaction(); - provider = new VppDataBrokerInitializationProvider(bindingBroker, readerRegistry, writerRegistry); + provider = new VppDataBrokerInitializationProvider(bindingBroker, readerRegistry, writerRegistry, serializer); } @Test |