flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes. ok aja@