fake - 2007-11-28

How to test asynchronous functions?

For example I have connect() function which request to another component to open internet connection
and when connection is up notify about this comes via callback.