public class ServiceRunnerSpec_ParseCommandLineArgs extends Object
Modifier and Type | Field and Description |
---|---|
private String[] |
argv |
org.junit.contrib.java.lang.system.ExpectedSystemExit |
exit |
private org.apache.commons.cli.Options |
opts |
private String |
PATH_TO_CONFIG_FILE |
private ServiceRunner |
serviceRunnerSimpleMock |
Constructor and Description |
---|
ServiceRunnerSpec_ParseCommandLineArgs() |
Modifier and Type | Method and Description |
---|---|
void |
beforeEach() |
void |
invalidArgumentsNegativeFlow() |
void |
noArgumentsNegativeFlow() |
void |
noOptionsNegativeFlow() |
void |
positiveFlow() |
private final String PATH_TO_CONFIG_FILE
private org.apache.commons.cli.Options opts
private ServiceRunner serviceRunnerSimpleMock
private String[] argv
public final org.junit.contrib.java.lang.system.ExpectedSystemExit exit
public ServiceRunnerSpec_ParseCommandLineArgs()
public void beforeEach()
public void positiveFlow() throws Lot49Exception
Lot49Exception
public void noOptionsNegativeFlow() throws Lot49Exception
Lot49Exception
public void noArgumentsNegativeFlow() throws Lot49Exception
Lot49Exception