Add assert.requireMock function