Mocking Y.Intl._mod method.