createMap

This method should be used when you need to stub out creating NativeMaps in unit tests.