What is the canonical way to test state in Clojure? Assuming you have some atom that contains the app-state and there are a bunch of handlers that manipulate it and you want to test the handlers, do you use with-redefs to set the app-state?
More importantly, if I want to set the state up and then call the handlers, what would I do?