How to return Mocks from Mocks
This shows How to mock our a more complicated api. It demonstrates how to return a mock from a mock which is very
useful in testing complex apis such as jdk's nio subsystem.
This example consists of an example test on one system. The files for the test and the system are the following....