| Package | Description |
|---|---|
| org.unitils.mock.core | |
| org.unitils.mock.report.impl |
| Modifier and Type | Field and Description |
|---|---|
protected List<ObservedInvocation> |
Scenario.observedInvocations |
| Modifier and Type | Method and Description |
|---|---|
List<ObservedInvocation> |
Scenario.getObservedInvocations() |
| Modifier and Type | Method and Description |
|---|---|
void |
Scenario.addObservedMockInvocation(ObservedInvocation mockInvocation) |
protected String |
Scenario.getAssertNotInvokedErrorMessage(ProxyInvocation proxyInvocation,
ObservedInvocation unexpectedInvocation,
StackTraceElement[] assertedAt) |
protected String |
Scenario.getInvokedOutOfOrderErrorMessage(ObservedInvocation matchingInvocation,
ObservedInvocation outOfOrderInvocation,
StackTraceElement assertedAt) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
Scenario.getNoMoreInvocationsErrorMessage(List<ObservedInvocation> unexpectedInvocations,
StackTraceElement assertedAt) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
DetailedObservedInvocationsReport.formatBehaviorDetails(ObservedInvocation observedInvocation)
Creates a string representation of the behavior details of the given invocation.
|
protected String |
SuggestedAssertsReport.formatMockName(ObservedInvocation observedInvocation) |
protected String |
ObservedInvocationsReport.formatMockName(ObservedInvocation observedInvocation) |
protected String |
ObservedInvocationsReport.formatObservedInvocation(ObservedInvocation observedInvocation,
List<ProxyInvocationsReport.FormattedObject> currentLargeObjects,
Map<Object,ProxyInvocationsReport.FormattedObject> allLargeObjects,
Map<Class<?>,Integer> largeObjectNameIndexes)
Creates a string representation of the given invocation.
|
protected String |
SuggestedAssertsReport.getSuggestedAssertStatement(Object testObject,
ObservedInvocation observedInvocation)
Creates an assert statement for the given method invocation and arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ObservedInvocationsReport.createReport(List<ObservedInvocation> observedInvocations)
Creates a string representation of the given invocations as described in the class javadoc.
|
String |
DetailedObservedInvocationsReport.createReport(List<ObservedInvocation> observedInvocations)
Creates a string representation of the given scenario as described in the class javadoc.
|
String |
SuggestedAssertsReport.createReport(Object testObject,
List<ObservedInvocation> observedInvocations)
Creates a string representation of the given invocations.
|
Copyright © 2016. All Rights Reserved.