OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / extension / openflowplugin-extension-nicira / src / test / java / org / opendaylight / openflowplugin / extension / vendor / nicira / convertor / action / DecNshTtlConvertorTest.java
index aaa9390d1d67029298e40d2f83d997a2fed75293..003c64eacd19857b6a99a548bcd21d64b4ecda4b 100644 (file)
@@ -8,8 +8,6 @@
 
 package org.opendaylight.openflowplugin.extension.vendor.nicira.convertor.action;
 
-import static org.mockito.Mockito.when;
-
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
@@ -38,12 +36,9 @@ public class DecNshTtlConvertorTest {
     @Before
     public void setUp() throws Exception {
         NxDecNshTtl nxDecNshTtl = Mockito.mock(NxDecNshTtl.class);
-        when(actionsCase.getNxDecNshTtl()).thenReturn(nxDecNshTtl);
 
         NxActionDecNshTtl nxActionDecNshTtl = Mockito.mock(NxActionDecNshTtl.class);
         ActionDecNshTtl actionDecNshTtl = Mockito.mock(ActionDecNshTtl.class);
-        when(actionDecNshTtl.getNxActionDecNshTtl()).thenReturn(nxActionDecNshTtl);
-        when(action.getActionChoice()).thenReturn(actionDecNshTtl);
 
         decNshTtlConvertor = new DecNshTtlConvertor();
     }