PlanStore { public void updatePlan(String planName, String logicalPlanJson) throws TexeraException{ updatePlanInternal(planName, null, logicalPlanJson); } private  PlanStore(); synchronized static PlanStore getInstance(); void createPlanStore(); void destroyPlanStore(); IDField addPlan(String planName, String description, String logicalPlanJson); Tuple getPlan(String planName); DataReader getPlanIterator(); void deletePlan(String planName); void updatePlanDescription(String planName, String description); void updatePlan(String planName, String logicalPlanJson); void updatePlan(String planName, String description, String logicalPlanJson);  }
@Test public void testUpdatePlan() throws TexeraException { String planName1 = "plan1"; planStore.addPlan(planName1, "basic dictionary source plan", logicalPlanJson1); planStore.updatePlan(planName1, logicalPlanJson2); assertCorrectPlanExists(planName1, logicalPlanJson2); }