@PrepareForTest(value={Utils.class,ServiceRunner.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class ServiceRunnerSpec_LoadConfig extends Object
Modifier and Type | Field and Description |
---|---|
private String |
PATH_TO_CONFIG_FILE |
private ServiceRunner |
serviceRunnerSimpleMock |
org.junit.contrib.java.lang.system.SystemOutRule |
systemOutRule |
Constructor and Description |
---|
ServiceRunnerSpec_LoadConfig() |
Modifier and Type | Method and Description |
---|---|
void |
beforeEach() |
void |
negativeFlowWhenConfigFileNameIsNull() |
void |
positiveFlowWhenConfigFileNameIsNull() |
void |
positiveFlowWhenConfigFileNameNotNull() |
private final String PATH_TO_CONFIG_FILE
private ServiceRunner serviceRunnerSimpleMock
public final org.junit.contrib.java.lang.system.SystemOutRule systemOutRule
public void beforeEach() throws Lot49Exception
Lot49Exception
public void positiveFlowWhenConfigFileNameNotNull() throws Lot49Exception
Lot49Exception
public void positiveFlowWhenConfigFileNameIsNull() throws Lot49Exception
Lot49Exception
public void negativeFlowWhenConfigFileNameIsNull() throws Lot49Exception
Lot49Exception