Abstract
FBMock is a new open-source PHP mocking framework which eschews the traditional expectation verification pattern seen in other frameworks such as PHPUnit. This leads to simpler tests and makes it easier for beginners to learn In the last year, FBMock has helped fuel rapid adoption of unit testing within Facebook. In the last year, Facebook engineers have written almost 1,200 tests using FBMock dramatically increasing test reliability and performance.