A fork of Voidspace's Mock library for use as a submodule.