assertEquals(namespace == null ? "" : namespace, query.getNamespace());
}
public void testCreateReadersWithAncestor() throws IOException {
List<Key> data = populateData(2, null);
Key parrent = data.get(0);
Key notInResult = data.get(1);
List<Key> keys = populateData(100, null, parrent);
DatastoreInput input = new DatastoreInput(new Query(ENTITY_KIND_NAME, parrent), 5);
ArrayList<Key> read = new ArrayList<>();
for (InputReader<Entity> reader : input.createReaders() ) {
read.addAll(getEntities(reader));