@@ -0,0 +1,2035 @@
+package com.google.sps.tool;%0A%0Aimport com.google.appengine.api.datastore.Entity;%0Aimport com.google.appengine.api.datastore.DatastoreService;%0Aimport com.google.appengine.api.datastore.DatastoreServiceFactory;%0Aimport com.google.appengine.api.datastore.Key;%0Aimport com.google.appengine.api.datastore.KeyFactory;%0A%0Aimport java.util.List;%0Aimport java.util.ArrayList;%0Aimport com.google.sps.data.Card;%0Aimport com.google.sps.data.Folder;%0A%0Apublic class EntityTestingTool %7B%0A%0A  public static boolean checkForNoNullValues(Entity card) %7B%0A    return (card.getProperty(%22blobKey%22) != null  &&%0A      card.getProperty(%22labels%22) != null &&%0A      card.getProperty(%22textTranslated%22) != null &&%0A      card.getProperty(%22textNotTranslated%22) != null &&%0A      card.getProperty(%22fromLang%22) != null &&%0A      card.getProperty(%22toLang%22) != null &&%0A      card.getProperty(%22cardKey%22) != null);%0A  %7D%0A%0A  public static List%3CFolder%3E populateDatastoreWithFolders(Folder FOLDER_A, Folder FOLDER_B, DatastoreService datastore, String USERKEY) %7B%0A    %0A    Entity folderA_Entity = FOLDER_A.createEntity(KeyFactory.stringToKey(USERKEY));%0A    Entity folderB_Entity = FOLDER_B.createEntity(KeyFactory.stringToKey(USERKEY));%0A%0A    // Update entity in datastore %0A    datastore.put(folderA_Entity);%0A    datastore.put(folderB_Entity);%0A%0A    List%3CFolder%3E folders = new ArrayList%3C%3E();%0A    folders.add(Folder.EntityToFolder(folderA_Entity));%0A    folders.add(Folder.EntityToFolder(folderB_Entity));%0A%0A    return folders;%0A  %7D%0A%0A  public static List%3CCard%3E populateDatastoreWithCards(Card CARD_A, Card CARD_B, DatastoreService datastore, String FOLDERKEY) %7B%0A    %0A    Entity CardA_Entity = CARD_A.createEntity(KeyFactory.stringToKey(FOLDERKEY));%0A    Entity CardB_Entity = CARD_B.createEntity(KeyFactory.stringToKey(FOLDERKEY));%0A%0A    // Update entity in datastore %0A    datastore.put(CardA_Entity);%0A    datastore.put(CardB_Entity);%0A%0A    List%3CCard%3E cards = new ArrayList%3C%3E();%0A    cards.add(Card.EntityToCard(CardA_Entity));%0A    cards.add(Card.EntityToCard(CardB_Entity));%0A%0A    return cards;%0A  %7D%0A%0A    %0A%7D

Implement a class with testing methods