Injecting context APIs into Context Factory
All of the context APIs are injected into Context Factory. This gives the mapping layer access to all of the implementation code so that it can select the correct implementation method for each step method. This is illustrated in the following diagram.

Finally, RemoteSmokeTestHelperModule binds the context API interfaces to their impls so that the correct impl can be provided to each step method. This is illustrated in the following diagram.

