I'm writing some unit tests for a new action that I'm writing in Java. I can find plenty of examples of how to create a store programmatically but none that delete the store afterwards… Is this at all possible? I'd like my tests to clean up correctly afterwards.
For most of our Unit tests, we start a transaction, create stores(s), perform operations etc. then rollback the transaction. This removes all artifacts without explicitly deleting anything.