Mocha integration