GenFSM module 

This is quite similar to the GenServer module with the obvious difference that it gives access to the gen_fsm module instead of the gen_server module.

The MyFsm module in the documentation has been tested and it works. Not sure if the test is executed when it is built.