import org.powermock.modules.junit4.PowerMockRunner;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
+import static org.junit.Assert.assertNotNull;
@RunWith(PowerMockRunner.class)
@PrepareForTest({MDSALStoreImpl.class, MDSALStoreFactory.class})
params.put("configJSON", "configJSON");
params.put("requestId", "requestId");
configurator.storeConfig(params, new SvcLogicContext());
+ assertNotNull(configurator);
}
@Test
params.put("configJSON", "configJSON");
params.put("requestId", "requestId");
configurator.storeConfig(params, new SvcLogicContext());
+ assertNotNull(configurator);
}
}
import org.powermock.reflect.Whitebox;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
+import static org.junit.Assert.assertNotNull;
@RunWith(PowerMockRunner.class)
@PrepareForTest({FrameworkUtil.class, DependencyManager.class, DependencyModelFactory.class})
VnfExecutionFlow vnfExecutionFlow = new VnfExecutionFlowImpl();
Whitebox.setInternalState(vnfExecutionFlow, "logger", logger);
vnfExecutionFlow.getVnfExecutionFlowData(params, context);
+ assertNotNull(params);
}
@Test
VnfExecutionFlow vnfExecutionFlow = new VnfExecutionFlowImpl();
Whitebox.setInternalState(vnfExecutionFlow, "logger", logger);
vnfExecutionFlow.getVnfExecutionFlowData(params, context);
+ assertNotNull(params);
}
@Test(expected = RuntimeException.class)
VnfExecutionFlow vnfExecutionFlow = new VnfExecutionFlowImpl();
vnfExecutionFlow.getVnfExecutionFlowData(params, context);
+ assertNotNull(params);
}
@Test
VnfExecutionFlow vnfExecutionFlow = new VnfExecutionFlowImpl();
vnfExecutionFlow.getVnfExecutionFlowData(params, context);
+ assertNotNull(params);
}
}