diff options
Diffstat (limited to 'nat/nat2vpp/src/test/java/io/fd/honeycomb')
-rw-r--r-- | nat/nat2vpp/src/test/java/io/fd/honeycomb/nat/read/ifc/InterfaceInboundNatCustomizerTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nat/nat2vpp/src/test/java/io/fd/honeycomb/nat/read/ifc/InterfaceInboundNatCustomizerTest.java b/nat/nat2vpp/src/test/java/io/fd/honeycomb/nat/read/ifc/InterfaceInboundNatCustomizerTest.java index 140d35fec..3cef1880e 100644 --- a/nat/nat2vpp/src/test/java/io/fd/honeycomb/nat/read/ifc/InterfaceInboundNatCustomizerTest.java +++ b/nat/nat2vpp/src/test/java/io/fd/honeycomb/nat/read/ifc/InterfaceInboundNatCustomizerTest.java @@ -51,7 +51,7 @@ public class InterfaceInboundNatCustomizerTest private static final String CTX_NAME = "ifc"; @Mock - private EntityDumpExecutor<SnatInterfaceDetailsReplyDump, Void> abc; + private EntityDumpExecutor<SnatInterfaceDetailsReplyDump, Void> natExecutor; private DumpCacheManager<SnatInterfaceDetailsReplyDump, Void> dumpMgr; private NamingContext ifcContext = new NamingContext(CTX_NAME, CTX_NAME); private InstanceIdentifier<Inbound> id; @@ -65,9 +65,9 @@ public class InterfaceInboundNatCustomizerTest id = getId(Inbound.class); defineMapping(mappingContext, IFC_NAME, IFC_IDX, CTX_NAME); // empty dump - Mockito.doReturn(new SnatInterfaceDetailsReplyDump()).when(abc).executeDump(id, null); + Mockito.doReturn(new SnatInterfaceDetailsReplyDump()).when(natExecutor).executeDump(id, null); dumpMgr = new DumpCacheManager.DumpCacheManagerBuilder<SnatInterfaceDetailsReplyDump, Void>() - .withExecutor(abc) + .withExecutor(natExecutor) .build(); } @@ -95,7 +95,7 @@ public class InterfaceInboundNatCustomizerTest detail.isInside = 1; detail.swIfIndex = IFC_IDX; details.snatInterfaceDetails = Lists.newArrayList(detail); - Mockito.doReturn(details).when(abc).executeDump(id, null); + Mockito.doReturn(details).when(natExecutor).executeDump(id, null); assertTrue(getReader().read(id, ctx).isPresent()); } |