@PrepareForTest(value={OpsSvc.class,ServiceRunner.class,LogUtils.class,javax.ws.rs.core.Response.class})
@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class OpsSvcSpec_favicon
extends Object
| Modifier and Type | Field and Description |
|---|---|
private Lot49Config |
configMock |
private javax.ws.rs.core.Response.ResponseBuilder |
responseBuilderMock |
private ServiceRunner |
serviceRunnerSimpleMock |
private OpsSvc |
svc |
| Constructor and Description |
|---|
OpsSvcSpec_favicon() |
| Modifier and Type | Method and Description |
|---|---|
void |
negativeFlow_callServerErrorIfFaviconIsIncorrect() |
private void |
positiveFlow_callNoContent(String favicon) |
void |
positiveFlow_callNoContentIfFaviconIsEmpty() |
void |
positiveFlow_callNoContentIfFaviconIsNull() |
void |
positiveFlow_callSeeOtherIfFaviconIsCorrect() |
void |
setUp() |
private ServiceRunner serviceRunnerSimpleMock
private Lot49Config configMock
private javax.ws.rs.core.Response.ResponseBuilder responseBuilderMock
private OpsSvc svc
public void positiveFlow_callNoContentIfFaviconIsNull()
public void positiveFlow_callNoContentIfFaviconIsEmpty()
private void positiveFlow_callNoContent(String favicon)
public void positiveFlow_callSeeOtherIfFaviconIsCorrect()
public void negativeFlow_callServerErrorIfFaviconIsIncorrect()