/// <summary> /// Returns a mock docker host factory. /// </summary> private MockDockerHost GetMockDockerHost( DockerResult dockerResult = null) { return new MockDockerHost ( dockerResult ?? new DockerResult ( completed: true, output: "DiagnosticOutput", response: null ) ); }
/// <summary> /// Constructor. /// </summary> public MockDockerHost(DockerResult expectedResult) { _dockerResult = expectedResult; }