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 / CtClearConvertorTest.java
index 7793a271f85d59d59aa50f629d1275547291abeb..d1087596fef787be2fe7ce7258842a7e9f9c7e5c 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;
@@ -45,12 +43,9 @@ public class CtClearConvertorTest {
     @Before
     public void setUp() throws Exception {
         final NxCtClear nxCtClear = Mockito.mock(NxCtClear.class);
-        when(actionsCase.getNxCtClear()).thenReturn(nxCtClear);
 
         final ActionCtClear actionCtClear = Mockito.mock(ActionCtClear.class);
         final NxActionCtClear nxActionCtClear = Mockito.mock(NxActionCtClear.class);
-        when(actionCtClear.getNxActionCtClear()).thenReturn(nxActionCtClear);
-        when(action.getActionChoice()).thenReturn(actionCtClear);
 
         ctClearConvertor = new CtClearConvertor();
     }