RTRReportResult.MockFlatlistRow
This class is used to create mock responses for the unit test execution.
The RTRReportResult.MockFlatlistRow class extends RTRReportResult.FlatlistRow.
The supported modifiers are global and virtual.
| Method signature | Description | Version |
|---|---|---|
| RTRReportResult.MockFlatlistRow(Map<String, Object> rowData) | The constructor for creating mock responses for the unit test execution. rowData: Map<String, Object> . A map of String to Object that contains different values for all the columns of MockFlatlistRow.The mocked value is returned when the getColumnValue method is executed.The map must have a key called RowType, which sets the type for the row. If a map is provided without this key, this constructor throws an exception. | 60.0 |
To unit test a Flatlist component in, mock the resulting report data rows with the MockFlatlist and MockFlatlistRow classes.