bharendt/estub

detect behaviour based on exported functions if no behaviour attribute was specified

Opened this issue · 0 comments

in get_mock_info check the exports if no behaviour was found. e.g. if handle_sync_event/4 is exported the module seems to be a gen_fsm callback module, and if handle_call/3 is exported the module seems to be a gen_server module