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);
}
}