public class MockReportContainer
extends java.lang.Object
| Constructor and Description |
|---|
MockReportContainer(java.util.List<org.ametiste.sns.client.drivers.ReportMessage> reports) |
| Modifier and Type | Method and Description |
|---|---|
void |
wasntRegistered() |
void |
wasRegistered() |
void |
wasRegistered(int times) |
MockReportContainer |
withContentContains(java.lang.String key)
This method should be used with caution, only if content of tested report is compatible with
Map<String, Object> type. |
MockReportContainer |
withContentContains(java.lang.String key,
java.lang.Object value)
This method should be used with caution, only if content of tested report is compatible with
Map<String, Object> type. |
MockReportContainer |
withRequestId(java.util.UUID id) |
MockReportContainer |
withSender(java.lang.String sender) |
MockReportContainer |
withType(java.lang.String type) |
public MockReportContainer(java.util.List<org.ametiste.sns.client.drivers.ReportMessage> reports)
public MockReportContainer withType(java.lang.String type)
public MockReportContainer withRequestId(java.util.UUID id)
public MockReportContainer withSender(java.lang.String sender)
public MockReportContainer withContentContains(java.lang.String key)
Map<String, Object> type. Otherwise the key cant be found and other map types cant be predictedkey - public MockReportContainer withContentContains(java.lang.String key, java.lang.Object value)
Map<String, Object> type. Otherwise the key cant be found and other map types cant be predictedkey - value - public void wasRegistered(int times)
public void wasRegistered()
public void wasntRegistered()