overrideEngine function

void overrideEngine(
  1. DockerEngine engine
)

Makes engine the client this isolate uses. For rig's own tests and for module tests.

Implementation

void overrideEngine(DockerEngine engine) {
  _pending = Future.value(engine);
}