/** * Deletes the experiment and all things associated with it */ public void delete() { owner.delete(name); }
@Test public void testDeleteExperiment() { experiments .create("foo") .save(); assertNotNull("did not find experiment", experiments.get("foo")); experiments.delete("foo"); assertNull("should return null when experiment not found", experiments.get("foo")); }
experiments.delete("my_experiment");