public class DatastoreAsserts
extends java.lang.Object
| Constructor and Description | 
|---|
| DatastoreAsserts() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.beam.it.truthmatchers.RecordsSubject | assertThatDatastoreRecords(java.util.Collection<com.google.cloud.datastore.Entity> results)Creates a  RecordsSubjectto assert information within a list of records. | 
| static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> | datastoreResultsToRecords(java.util.Collection<com.google.cloud.datastore.Entity> results)Convert Datastore  QueryResultsto a list of maps. | 
public static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> datastoreResultsToRecords(java.util.Collection<com.google.cloud.datastore.Entity> results)
QueryResults to a list of maps.results - Results to parse.RecordsSubject.public static org.apache.beam.it.truthmatchers.RecordsSubject assertThatDatastoreRecords(java.util.Collection<com.google.cloud.datastore.Entity> results)
RecordsSubject to assert information within a list of records.results - Records in Datastore Entity format to use in the comparison.