$ nosetests machine_spec.py --include should_ --with-spec

Machine
- Stub because it isn't used here, and unittest complains if there isn't one.
- should initially have state of the first state
- should not transition from Shopping to Success upon trigger AcceptCard
- should remember list of events with transitions
- should remember list of valid states
- should transition to CheckingOut upon trigger CheckOut event
- should transition to Success upon trigger AcceptCard

----------------------------------------------------------------------
Ran 7 tests in 0.014s

OK

new-host:~/Development/dev/behaviour/example/machine/Listing23 aelfric$